Class DeferredColumnRegionDouble<ATTR extends Attributes.Values>

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

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

    • getDouble

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

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