Interface ColumnRegionInt<ATTR extends Any>

All Superinterfaces:
ChunkSource<ATTR>, ColumnRegion<ATTR>, DefaultChunkSource<ATTR>, FillContextMaker, GetContextMaker, Page<ATTR>, PagingChunkSource<ATTR>, Releasable
All Known Implementing Classes:
AppendOnlyFixedSizePageRegionInt, ColumnRegionInt.Constant, ColumnRegionInt.Null, ColumnRegionInt.StaticPageStore, DeferredColumnRegionInt, ParquetColumnRegionInt

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

    • getInt

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

      default int getInt(@NotNull @NotNull ChunkSource.FillContext context, long elementIndex)
      Get a single int 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 int 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> ColumnRegionInt<ATTR> createNull(long pageMask)