Module org.apache.lucene.core
Class Lucene90CompressingStoredFieldsReader.BlockState
java.lang.Object
org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.BlockState
- Enclosing class:
Lucene90CompressingStoredFieldsReader
Keeps state about the current block of documents.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleancontains(int docID) (package private) Lucene90CompressingStoredFieldsReader.SerializedDocumentdocument(int docID) Get the serialized representation of the given docID.private voiddoReset(int docID) (package private) voidreset(int docID) Reset this block so that it stores state for the block that contains the given doc id.
-
Field Details
-
docBase
private int docBase -
chunkDocs
private int chunkDocs -
sliced
private boolean sliced -
offsets
private long[] offsets -
numStoredFields
private long[] numStoredFields -
startPointer
private long startPointer -
spare
-
bytes
-
-
Constructor Details
-
BlockState
BlockState()
-
-
Method Details
-
contains
boolean contains(int docID) -
reset
Reset this block so that it stores state for the block that contains the given doc id.- Throws:
IOException
-
doReset
- Throws:
IOException
-
document
Get the serialized representation of the given docID. This docID has to be contained in the current block.- Throws:
IOException
-