Class FixedGapTermsIndexReader
- java.lang.Object
-
- org.apache.lucene.codecs.blockterms.TermsIndexReaderBase
-
- org.apache.lucene.codecs.blockterms.FixedGapTermsIndexReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Accountable
public class FixedGapTermsIndexReader extends TermsIndexReaderBase
TermsIndexReader for simple every Nth terms indexes.- See Also:
FixedGapTermsIndexWriter- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.codecs.blockterms.TermsIndexReaderBase
TermsIndexReaderBase.FieldIndexEnum
-
-
Field Summary
-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Constructor Summary
Constructors Constructor Description FixedGapTermsIndexReader(SegmentReadState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Collection<Accountable>getChildResources()TermsIndexReaderBase.FieldIndexEnumgetFieldEnum(FieldInfo fieldInfo)longramBytesUsed()booleansupportsOrd()StringtoString()
-
-
-
Constructor Detail
-
FixedGapTermsIndexReader
public FixedGapTermsIndexReader(SegmentReadState state) throws IOException
- Throws:
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 IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classTermsIndexReaderBase- Throws:
IOException
-
ramBytesUsed
public long ramBytesUsed()
-
getChildResources
public Collection<Accountable> getChildResources()
-
-