Interface ColumnRegionLong<ATTR extends Any>

All Superinterfaces:
ChunkSource<ATTR>, ColumnRegion<ATTR>, DefaultChunkSource<ATTR>, FillContextMaker, GetContextMaker, Page<ATTR>, PagingChunkSource<ATTR>, Releasable
All Known Implementing Classes:
AppendOnlyFixedSizePageRegionLong, ColumnRegionLong.Constant, ColumnRegionLong.Null, ColumnRegionLong.StaticPageStore, ColumnRegionObject.DictionaryKeysWrapper, DeferredColumnRegionLong, ParquetColumnRegionLong

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

    • getLong

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

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