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 class
VariableGapTermsIndexReader.FieldIndexData
private static class
VariableGapTermsIndexReader.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>
fields
private PositiveIntOutputs
fstOutputs
-
Constructor Summary
Constructors Constructor Description VariableGapTermsIndexReader(SegmentReadState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.Collection<Accountable>
getChildResources()
Returns nested resources of this class.TermsIndexReaderBase.FieldIndexEnum
getFieldEnum(FieldInfo fieldInfo)
long
ramBytesUsed()
Return the memory usage of this object in bytes.private void
seekDir(IndexInput input)
boolean
supportsOrd()
java.lang.String
toString()
-
-
-
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:
supportsOrd
in classTermsIndexReaderBase
-
getFieldEnum
public TermsIndexReaderBase.FieldIndexEnum getFieldEnum(FieldInfo fieldInfo)
- Specified by:
getFieldEnum
in classTermsIndexReaderBase
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in 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:Accountable
Return the memory usage of this object in bytes. Negative values are illegal.
-
getChildResources
public java.util.Collection<Accountable> 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:
Accountables
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-