Class DeferredColumnRegionFloat<ATTR extends Any>

All Implemented Interfaces:
Page<ATTR>, PagingChunkSource<ATTR>, ChunkSource<ATTR>, FillContextMaker, GetContextMaker, DefaultChunkSource<ATTR>, ColumnRegion<ATTR>, ColumnRegionFloat<ATTR>, Releasable

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

    • getFloat

      public float getFloat(long elementIndex)
      Description copied from interface: ColumnRegionFloat
      Get a single float from this region.
      Specified by:
      getFloat in interface ColumnRegionFloat<ATTR extends Any>
      Parameters:
      elementIndex - Element row key in the table's address space
      Returns:
      The float value at the specified element row key
    • getFloat

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