Class CompressingStoredFieldsReader.BlockState
- java.lang.Object
-
- org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.BlockState
-
- Enclosing class:
- CompressingStoredFieldsReader
private class CompressingStoredFieldsReader.BlockState extends java.lang.ObjectKeeps state about the current block of documents.
-
-
Field Summary
Fields Modifier and Type Field Description private BytesRefbytesprivate intchunkDocsprivate intdocBaseprivate long[]numStoredFieldsprivate long[]offsetsprivate booleanslicedprivate BytesRefspareprivate longstartPointer
-
Constructor Summary
Constructors Constructor Description BlockState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleancontains(int docID)(package private) CompressingStoredFieldsReader.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.
-
-
-
Method Detail
-
contains
boolean contains(int docID)
-
reset
void reset(int docID) throws java.io.IOExceptionReset 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
CompressingStoredFieldsReader.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
-
-