public class FixedGapTermsIndexReader extends TermsIndexReaderBase
FixedGapTermsIndexWriter
TermsIndexReaderBase.FieldIndexEnum
Modifier and Type | Field and Description |
---|---|
protected long |
dirOffset |
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) |
protected void |
readHeader(IndexInput input) |
protected void |
seekDir(IndexInput input,
long dirOffset) |
boolean |
supportsOrd() |
public FixedGapTermsIndexReader(Directory dir, FieldInfos fieldInfos, String segment, int indexDivisor, Comparator<BytesRef> termComp, String segmentSuffix, IOContext context) throws IOException
IOException
public int getDivisor()
getDivisor
in class TermsIndexReaderBase
protected void readHeader(IndexInput input) throws IOException
IOException
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
protected void seekDir(IndexInput input, long dirOffset) throws IOException
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.