Class DeferredColumnRegionLong<ATTR extends Attributes.Values>

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

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

    • getLong

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

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