Class Lucene50CompressingStoredFieldsReader.BlockState
java.lang.Object
org.apache.lucene.backward_codecs.lucene50.compressing.Lucene50CompressingStoredFieldsReader.BlockState
- Enclosing class:
- Lucene50CompressingStoredFieldsReader
Keeps state about the current block of documents.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
contains
(int docID) (package private) Lucene50CompressingStoredFieldsReader.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.
-
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
-