Class DeferredColumnRegionInt<ATTR extends Any>

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

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

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