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 class
private class
Nested 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 long
private final int
private static final int
private final PagedBytes.Reader
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Returns nested resources of this class.getFieldEnum
(FieldInfo fieldInfo) long
Return the memory usage of this object in bytes.private void
seekDir
(IndexInput input) boolean
toString()
-
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:
supportsOrd
in classTermsIndexReaderBase
-
getFieldEnum
- Specified by:
getFieldEnum
in classTermsIndexReaderBase
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classTermsIndexReaderBase
- Throws:
IOException
-
seekDir
- Throws:
IOException
-
ramBytesUsed
public long ramBytesUsed()Description copied from interface:Accountable
Return the memory usage of this object in bytes. Negative values are illegal. -
getChildResources
Description copied from interface:Accountable
Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).- See Also:
-
toString
-