Interface ColumnRegionChar<ATTR extends Attributes.Any>

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

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

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

      default Class<?> getNativeType()
      Specified by:
      getNativeType in interface ChunkSource<ATTR extends Attributes.Any>
    • createNull

      static <ATTR extends Attributes.Any> ColumnRegionChar.Null<ATTR> createNull()