Class FieldsIndexReader
java.lang.Object
org.apache.lucene.backward_codecs.lucene50.compressing.FieldsIndex
org.apache.lucene.backward_codecs.lucene50.compressing.FieldsIndexReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final LegacyDirectMonotonicReader
private final long
private final LegacyDirectMonotonicReader.Meta
private final long
private final IndexInput
private final int
private final long
private final int
private final LegacyDirectMonotonicReader
private final long
private final LegacyDirectMonotonicReader.Meta
private final long
(package private) static final int
(package private) static final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
(package private)
FieldsIndexReader
(Directory dir, String name, String suffix, String extension, String codecName, byte[] id, IndexInput metaIn) -
Method Summary
Modifier and TypeMethodDescription(package private) void
Check the integrity of the index.clone()
void
close()
long
(package private) long
getStartPointer
(int docID) Get the start pointer for the block that contains the given docID.
-
Field Details
-
VERSION_START
static final int VERSION_START- See Also:
-
VERSION_CURRENT
static final int VERSION_CURRENT- See Also:
-
maxDoc
private final int maxDoc -
blockShift
private final int blockShift -
numChunks
private final int numChunks -
docsMeta
-
startPointersMeta
-
indexInput
-
docsStartPointer
private final long docsStartPointer -
docsEndPointer
private final long docsEndPointer -
startPointersStartPointer
private final long startPointersStartPointer -
startPointersEndPointer
private final long startPointersEndPointer -
docs
-
startPointers
-
maxPointer
private final long maxPointer
-
-
Constructor Details
-
FieldsIndexReader
FieldsIndexReader(Directory dir, String name, String suffix, String extension, String codecName, byte[] id, IndexInput metaIn) throws IOException - Throws:
IOException
-
FieldsIndexReader
- Throws:
IOException
-
-
Method Details
-
close
- Throws:
IOException
-
getStartPointer
long getStartPointer(int docID) Description copied from class:FieldsIndex
Get the start pointer for the block that contains the given docID.- Specified by:
getStartPointer
in classFieldsIndex
-
clone
- Specified by:
clone
in classFieldsIndex
-
getMaxPointer
public long getMaxPointer() -
checkIntegrity
Description copied from class:FieldsIndex
Check the integrity of the index.- Specified by:
checkIntegrity
in classFieldsIndex
- Throws:
IOException
-