Class DeferredColumnRegionShort<ATTR extends Any>

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

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

    • getShort

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

      public short getShort(@NotNull @NotNull ChunkSource.FillContext context, long elementIndex)
      Description copied from interface: ColumnRegionShort
      Get a single short from this region.
      Specified by:
      getShort in interface ColumnRegionShort<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 short value at the specified element row key