Class DeferredColumnRegionChar<ATTR extends Attributes.Values>

java.lang.Object
com.illumon.iris.db.v2.sources.regioned.DeferredColumnRegionBase<ATTR,ColumnRegionChar<ATTR>>
com.illumon.iris.db.v2.sources.regioned.DeferredColumnRegionChar<ATTR>
All Implemented Interfaces:
ChunkSource<ATTR>, FillContextMaker, GetContextMaker, Page<ATTR>, PagingChunkSource<ATTR>, ColumnRegion<ATTR>, ColumnRegionChar<ATTR>, Releasable

public class DeferredColumnRegionChar<ATTR extends Attributes.Values> 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 Attributes.Values>
      Parameters:
      elementIndex - Element (char) index in the table's address space
      Returns:
      The char value at the specified element (char) index
    • getChar

      public char getChar(@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 Attributes.Values>
      Parameters:
      context - A ColumnRegionFillContext to enable resource caching where suitable, with current region index pointing to this region
      elementIndex - Element (char) index in the table's address space
      Returns:
      The char value at the specified element (char) index