Module org.apache.lucene.codecs
Class FixedGapTermsIndexReader
java.lang.Object
org.apache.lucene.codecs.blockterms.TermsIndexReaderBase
org.apache.lucene.codecs.blockterms.FixedGapTermsIndexReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Accountable
TermsIndexReader for simple every Nth terms indexes.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final classprivate classNested classes/interfaces inherited from class org.apache.lucene.codecs.blockterms.TermsIndexReaderBase
TermsIndexReaderBase.FieldIndexEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int(package private) final HashMap<String, FixedGapTermsIndexReader.FieldIndexData> private final longprivate final intprivate static final intprivate final PagedBytes.ReaderFields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Returns nested resources of this class.getFieldEnum(FieldInfo fieldInfo) longReturn the memory usage of this object in bytes.private voidseekDir(IndexInput input) booleantoString()
-
Field Details
-
indexInterval
private final long indexInterval -
packedIntsVersion
private final int packedIntsVersion -
blocksize
private final int blocksize -
PAGED_BYTES_BITS
private static final int PAGED_BYTES_BITS- See Also:
-
termBytesReader
-
fields
-
-
Constructor Details
-
FixedGapTermsIndexReader
- Throws:
IOException
-
-
Method Details
-
supportsOrd
public boolean supportsOrd()- Specified by:
supportsOrdin classTermsIndexReaderBase
-
getFieldEnum
- Specified by:
getFieldEnumin classTermsIndexReaderBase
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classTermsIndexReaderBase- Throws:
IOException
-
seekDir
- Throws:
IOException
-
ramBytesUsed
public long ramBytesUsed()Description copied from interface:AccountableReturn the memory usage of this object in bytes. Negative values are illegal. -
getChildResources
Description copied from interface:AccountableReturns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).- See Also:
-
toString
-