Class DeferredColumnRegionShort<ATTR extends Attributes.Values>

java.lang.Object
com.illumon.iris.db.v2.sources.regioned.DeferredColumnRegionBase<ATTR,ColumnRegionShort<ATTR>>
com.illumon.iris.db.v2.sources.regioned.DeferredColumnRegionShort<ATTR>
All Implemented Interfaces:
ChunkSource<ATTR>, FillContextMaker, GetContextMaker, Page<ATTR>, PagingChunkSource<ATTR>, ColumnRegion<ATTR>, ColumnRegionShort<ATTR>, Releasable

public class DeferredColumnRegionShort<ATTR extends Attributes.Values> extends DeferredColumnRegionBase<ATTR,ColumnRegionShort<ATTR>> implements ColumnRegionShort<ATTR>
ColumnRegionShort implementation for deferred regions, i.e. regions that will be properly constructed on first access.
  • Method Details

    • getShort

      public short getShort(long elementIndex)
      Description copied from interface: ColumnRegionShort
      Get a single short from this region.
      Specified by:
      getShort in interface ColumnRegionShort<ATTR extends Attributes.Values>
      Parameters:
      elementIndex - Element (short) index in the table's address space
      Returns:
      The short value at the specified element (short) index
    • getShort

      public short getShort(@NotNull ChunkSource.FillContext context, long elementIndex)
      Description copied from interface: ColumnRegionShort
      Get a single short from this region.
      Specified by:
      getShort in interface ColumnRegionShort<ATTR extends Attributes.Values>
      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