Interface ColumnRegionChar<ATTR extends Any>

All Superinterfaces:
ChunkSource<ATTR>, ColumnRegion<ATTR>, DefaultChunkSource<ATTR>, FillContextMaker, GetContextMaker, Page<ATTR>, PagingChunkSource<ATTR>, Releasable
All Known Implementing Classes:
AppendOnlyFixedSizePageRegionChar, ColumnRegionChar.Constant, ColumnRegionChar.Null, ColumnRegionChar.StaticPageStore, DeferredColumnRegionChar, ParquetColumnRegionChar

public interface ColumnRegionChar<ATTR extends Any> extends ColumnRegion<ATTR>
Column region interface for regions that support fetching primitive chars.
  • Method Details

    • getChar

      char getChar(long elementIndex)
      Get a single char from this region.
      Parameters:
      elementIndex - Element row key in the table's address space
      Returns:
      The char value at the specified element row key
    • getChar

      default char getChar(@NotNull @NotNull ChunkSource.FillContext context, long elementIndex)
      Get a single char from this region.
      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
    • getChunkType

      @FinalDefault default ChunkType getChunkType()
      Description copied from interface: ChunkSource
      Get the most suitable ChunkType for use with this ChunkSource.
      Specified by:
      getChunkType in interface ChunkSource<ATTR extends Any>
      Returns:
      The ChunkType
    • createNull

      static <ATTR extends Any> ColumnRegionChar<ATTR> createNull(long pageMask)