Class ChunkReaderContext

  • All Implemented Interfaces:
    Closeable, AutoCloseable, ForwardIndexReaderContext

    public class ChunkReaderContext
    extends Object
    implements ForwardIndexReaderContext
    Context for the chunk-based forward index readers.

    Information saved in the context can be used by subsequent reads as cache:

    • Chunk Buffer from the previous read. Useful if the subsequent read is from the same buffer, as it avoids extra chunk decompression.
    • Id for the chunk
    • Constructor Detail

      • ChunkReaderContext

        public ChunkReaderContext​(int maxChunkSize)