public class FixedGapTermsIndexReader extends TermsIndexReaderBase
FixedGapTermsIndexWriterTermsIndexReaderBase.FieldIndexEnum| Constructor and Description |
|---|
FixedGapTermsIndexReader(Directory dir,
FieldInfos fieldInfos,
String segment,
int indexDivisor,
Comparator<BytesRef> termComp,
String segmentSuffix,
IOContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getDivisor() |
TermsIndexReaderBase.FieldIndexEnum |
getFieldEnum(FieldInfo fieldInfo) |
long |
ramBytesUsed()
Returns approximate RAM bytes used
|
boolean |
supportsOrd() |
public FixedGapTermsIndexReader(Directory dir, FieldInfos fieldInfos, String segment, int indexDivisor, Comparator<BytesRef> termComp, String segmentSuffix, IOContext context) throws IOException
IOExceptionpublic int getDivisor()
getDivisor in class TermsIndexReaderBasepublic boolean supportsOrd()
supportsOrd in class TermsIndexReaderBasepublic TermsIndexReaderBase.FieldIndexEnum getFieldEnum(FieldInfo fieldInfo)
getFieldEnum in class TermsIndexReaderBasepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class TermsIndexReaderBaseIOExceptionpublic long ramBytesUsed()
TermsIndexReaderBaseramBytesUsed in class TermsIndexReaderBaseCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.