Class Lucene90CompressingStoredFieldsReader.BlockState
- java.lang.Object
-
- org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.BlockState
-
- Enclosing class:
- Lucene90CompressingStoredFieldsReader
private class Lucene90CompressingStoredFieldsReader.BlockState extends java.lang.Object
Keeps state about the current block of documents.
-
-
Field Summary
Fields Modifier and Type Field Description private BytesRef
bytes
private int
chunkDocs
private int
docBase
private long[]
numStoredFields
private long[]
offsets
private boolean
sliced
private BytesRef
spare
private long
startPointer
-
Constructor Summary
Constructors Constructor Description BlockState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
contains(int docID)
(package private) Lucene90CompressingStoredFieldsReader.SerializedDocument
document(int docID)
Get the serialized representation of the given docID.private void
doReset(int docID)
(package private) void
reset(int docID)
Reset this block so that it stores state for the block that contains the given doc id.
-
-
-
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
-
document
Lucene90CompressingStoredFieldsReader.SerializedDocument document(int docID) throws java.io.IOException
Get the serialized representation of the given docID. This docID has to be contained in the current block.- Throws:
java.io.IOException
-
-