Interface ColumnRegionShort<ATTR extends Attributes.Any>

All Superinterfaces:
ChunkSource<ATTR>, ColumnRegion<ATTR>, FillContextMaker, GetContextMaker, Page<ATTR>, PagingChunkSource<ATTR>, Releasable
All Known Implementing Classes:
BufferedColumnRegionShort, ColumnRegionShort.Null, ColumnRegionShort.StaticPageStore, DeferredColumnRegionShort, ParquetColumnRegionShort

public interface ColumnRegionShort<ATTR extends Attributes.Any>
extends ColumnRegion<ATTR>
Column region interface for regions that support fetching primitive shorts.
  • Method Details

    • getShort

      short getShort​(long elementIndex)
      Get a single short from this region.
      Parameters:
      elementIndex - Element (short) index in the table's address space
      Returns:
      The short value at the specified element (short) index
    • getShort

      default short getShort​(@NotNull ChunkSource.FillContext context, long elementIndex)
      Get a single short from this region.
      Parameters:
      context - A ColumnRegionFillContext to enable resource caching where suitable, with current region index pointing to this region
      elementIndex - Element (short) index in the table's address space
      Returns:
      The short value at the specified element (short) index
    • getNativeType

      default Class<?> getNativeType()
      Specified by:
      getNativeType in interface ChunkSource<ATTR extends Attributes.Any>
    • createNull

      static <ATTR extends Attributes.Any> ColumnRegionShort.Null<ATTR> createNull()