Module org.apache.lucene.core
Class FieldsIndex
java.lang.Object
org.apache.lucene.codecs.lucene90.compressing.FieldsIndex
- All Implemented Interfaces:
Closeable,AutoCloseable,Cloneable
- Direct Known Subclasses:
FieldsIndexReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract voidCheck the integrity of the index.abstract FieldsIndexclone()(package private) abstract longgetBlockID(int docID) Get the ID of the block that contains the given docID.(package private) abstract longgetBlockLength(long blockID) Get the number of bytes of the block with the given ID.(package private) abstract longgetBlockStartPointer(long blockID) Get the start pointer of the block with the given ID.(package private) final longgetStartPointer(int docID) Get the start pointer of the block that contains the given docID.
-
Constructor Details
-
FieldsIndex
FieldsIndex()
-
-
Method Details
-
getBlockID
abstract long getBlockID(int docID) Get the ID of the block that contains the given docID. -
getBlockStartPointer
abstract long getBlockStartPointer(long blockID) Get the start pointer of the block with the given ID. -
getBlockLength
abstract long getBlockLength(long blockID) Get the number of bytes of the block with the given ID. -
getStartPointer
final long getStartPointer(int docID) Get the start pointer of the block that contains the given docID. -
checkIntegrity
Check the integrity of the index.- Throws:
IOException
-
clone
-