Class FixedBytePower2ChunkSVForwardIndexReader

    • Method Detail

      • getChunkBuffer

        protected ByteBuffer getChunkBuffer​(int docId,
                                            ChunkReaderContext context)
        Helper method to return the chunk buffer that contains the value at the given document id.
        • If the chunk already exists in the reader context, returns the same.
        • Otherwise, loads the chunk for the row, and sets it in the reader context.
        Overrides:
        getChunkBuffer in class BaseChunkForwardIndexReader
        Parameters:
        docId - Document id
        context - Reader context
        Returns:
        Chunk for the row