Class DeferredColumnRegionChar<ATTR extends Any>

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

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

    • getChar

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

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