Class ParquetColumnRegionByte<ATTR extends Any>

All Implemented Interfaces:
Page<ATTR>, PagingChunkSource<ATTR>, ChunkSource<ATTR>, FillContextMaker, GetContextMaker, DefaultChunkSource<ATTR>, ColumnRegion<ATTR>, ColumnRegionByte<ATTR>, Releasable

public final class ParquetColumnRegionByte<ATTR extends Any> extends ParquetColumnRegionBase<ATTR> implements ColumnRegionByte<ATTR>
ColumnRegionByte implementation for regions that support fetching primitive bytes from column chunk page stores.
  • Constructor Details

    • ParquetColumnRegionByte

      public ParquetColumnRegionByte(@NotNull @NotNull ColumnChunkPageStore<ATTR> columnChunkPageStore)
  • Method Details

    • getBytes

      public byte[] getBytes(long firstRowKey, @NotNull @org.jetbrains.annotations.NotNull byte[] destination, int destinationOffset, int length)
      Description copied from interface: ColumnRegionByte
      Get a range of bytes from this region. Implementations are not required to verify that the range specified is meaningful.
      Specified by:
      getBytes in interface ColumnRegionByte<ATTR extends Any>
      firstRowKey - First element row keyt in the table's address space
      destination - Array to store results
      destinationOffset - Offset into destination to begin storing at
      length - Number of bytes to get
      destination, to enable method chaining
    • getByte

      public byte getByte(long rowKey)
      Description copied from interface: ColumnRegionByte
      Get a single byte from this region.
      Specified by:
      getByte in interface ColumnRegionByte<ATTR extends Any>
      rowKey - Element row key in the table's address space
      The byte value at the specified element row key
    • getChunkPageContaining

      ChunkPage<ATTR> getChunkPageContaining(long elementIndex)