public class VariableGapTermsIndexReader extends TermsIndexReaderBase
TermsIndexReaderBase.FieldIndexEnum
Constructor and Description |
---|
VariableGapTermsIndexReader(Directory dir,
FieldInfos fieldInfos,
String segment,
int indexDivisor,
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 VariableGapTermsIndexReader(Directory dir, FieldInfos fieldInfos, String segment, int indexDivisor, String segmentSuffix, IOContext context) throws IOException
IOException
public int getDivisor()
getDivisor
in class TermsIndexReaderBase
public boolean supportsOrd()
supportsOrd
in class TermsIndexReaderBase
public TermsIndexReaderBase.FieldIndexEnum getFieldEnum(FieldInfo fieldInfo)
getFieldEnum
in class TermsIndexReaderBase
public void close() throws IOException
close
in interface Closeable
close
in class TermsIndexReaderBase
IOException
public long ramBytesUsed()
TermsIndexReaderBase
ramBytesUsed
in class TermsIndexReaderBase
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.