Class DeferredColumnRegionLong<ATTR extends Any>

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

public class DeferredColumnRegionLong<ATTR extends Any> 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 Any>
      Parameters:
      elementIndex - Element row key in the table's address space
      Returns:
      The long value at the specified element row key
    • getLong

      public long getLong(@NotNull @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 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 long value at the specified element row key