org.apache.lucene.codecs.blockterms
Class VariableGapTermsIndexReader
java.lang.Object
org.apache.lucene.codecs.blockterms.TermsIndexReaderBase
org.apache.lucene.codecs.blockterms.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 |
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
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
ramBytesUsed
public long ramBytesUsed()
- Description copied from class:
TermsIndexReaderBase
- Returns approximate RAM bytes used
- Specified by:
ramBytesUsed
in class TermsIndexReaderBase
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.