Class Lucene50CompressingStoredFieldsReader.BlockState

  • Enclosing class:
    Lucene50CompressingStoredFieldsReader

    private class Lucene50CompressingStoredFieldsReader.BlockState
    extends java.lang.Object
    Keeps state about the current block of documents.
    • Field Detail

      • docBase

        private int docBase
      • chunkDocs

        private int chunkDocs
      • sliced

        private boolean sliced
      • offsets

        private long[] offsets
      • numStoredFields

        private long[] numStoredFields
      • startPointer

        private long startPointer
    • Constructor Detail

      • BlockState

        BlockState()
    • Method Detail

      • contains

        boolean contains​(int docID)
      • reset

        void reset​(int docID)
            throws java.io.IOException
        Reset this block so that it stores state for the block that contains the given doc id.
        Throws:
        java.io.IOException
      • doReset

        private void doReset​(int docID)
                      throws java.io.IOException
        Throws:
        java.io.IOException