org.apache.lucene.codecs
Class VariableGapTermsIndexReader
java.lang.Object
org.apache.lucene.codecs.TermsIndexReaderBase
org.apache.lucene.codecs.VariableGapTermsIndexReader
- All Implemented Interfaces:
- Closeable
public class VariableGapTermsIndexReader
- extends TermsIndexReaderBase
See VariableGapTermsIndexWriter
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dirOffset
protected long dirOffset
VariableGapTermsIndexReader
public VariableGapTermsIndexReader(Directory dir,
FieldInfos fieldInfos,
String segment,
int indexDivisor,
String segmentSuffix,
IOContext context)
throws IOException
- Throws:
IOException
getDivisor
public int getDivisor()
- Specified by:
getDivisor
in class TermsIndexReaderBase
readHeader
protected void readHeader(IndexInput input)
throws IOException
- Throws:
IOException
supportsOrd
public boolean supportsOrd()
- Specified by:
supportsOrd
in class TermsIndexReaderBase
getFieldEnum
public TermsIndexReaderBase.FieldIndexEnum getFieldEnum(FieldInfo fieldInfo)
- Specified by:
getFieldEnum
in class TermsIndexReaderBase
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class TermsIndexReaderBase
- Throws:
IOException
seekDir
protected void seekDir(IndexInput input,
long dirOffset)
throws IOException
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.