Class VariableGapTermsIndexReader
- java.lang.Object
-
- org.apache.lucene.codecs.blockterms.TermsIndexReaderBase
-
- org.apache.lucene.codecs.blockterms.VariableGapTermsIndexReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,Accountable
public class VariableGapTermsIndexReader extends TermsIndexReaderBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classVariableGapTermsIndexReader.FieldIndexDataprivate static classVariableGapTermsIndexReader.IndexEnum-
Nested classes/interfaces inherited from class org.apache.lucene.codecs.blockterms.TermsIndexReaderBase
TermsIndexReaderBase.FieldIndexEnum
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.HashMap<java.lang.String,VariableGapTermsIndexReader.FieldIndexData>fieldsprivate PositiveIntOutputsfstOutputs-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Constructor Summary
Constructors Constructor Description VariableGapTermsIndexReader(SegmentReadState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.util.Collection<Accountable>getChildResources()Returns nested resources of this class.TermsIndexReaderBase.FieldIndexEnumgetFieldEnum(FieldInfo fieldInfo)longramBytesUsed()Return the memory usage of this object in bytes.private voidseekDir(IndexInput input)booleansupportsOrd()java.lang.StringtoString()
-
-
-
Field Detail
-
fstOutputs
private final PositiveIntOutputs fstOutputs
-
fields
final java.util.HashMap<java.lang.String,VariableGapTermsIndexReader.FieldIndexData> fields
-
-
Constructor Detail
-
VariableGapTermsIndexReader
public VariableGapTermsIndexReader(SegmentReadState state) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
supportsOrd
public boolean supportsOrd()
- Specified by:
supportsOrdin classTermsIndexReaderBase
-
getFieldEnum
public TermsIndexReaderBase.FieldIndexEnum getFieldEnum(FieldInfo fieldInfo)
- Specified by:
getFieldEnumin classTermsIndexReaderBase
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classTermsIndexReaderBase- Throws:
java.io.IOException
-
seekDir
private void seekDir(IndexInput input) throws java.io.IOException
- Throws:
java.io.IOException
-
ramBytesUsed
public long ramBytesUsed()
Description copied from interface:AccountableReturn the memory usage of this object in bytes. Negative values are illegal.
-
getChildResources
public java.util.Collection<Accountable> 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:
Accountables
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-