Class DeferredColumnRegionInt<ATTR extends Attributes.Any>

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

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

    • getInt

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

      public int getInt​(@NotNull ChunkSource.FillContext context, long elementIndex)
      Description copied from interface: ColumnRegionInt
      Get a single int from this region.
      Specified by:
      getInt in interface ColumnRegionInt<ATTR extends Attributes.Any>
      Parameters:
      context - A ColumnRegionFillContext to enable resource caching where suitable, with current region index pointing to this region
      elementIndex - Element (int) index in the table's address space
      Returns:
      The int value at the specified element (int) index