public class BlockTermsReader
extends FieldsProducer
PostingsReaderBase. This class is reusable for
codecs that use a different format for
docs/freqs/positions (though codecs are also free to
make their own terms dict impl).
This class also interacts with an instance of TermsIndexReaderBase, to abstract away the specific
implementation of the terms dict index.
| Constructor and Description |
|---|
BlockTermsReader(TermsIndexReaderBase indexReader,
PostingsReaderBase postingsReader,
SegmentReadState state) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity() |
void |
close() |
java.util.Collection<Accountable> |
getChildResources() |
java.util.Iterator<java.lang.String> |
iterator() |
long |
ramBytesUsed() |
int |
size() |
Terms |
terms(java.lang.String field) |
java.lang.String |
toString() |
public BlockTermsReader(TermsIndexReaderBase indexReader, PostingsReaderBase postingsReader, SegmentReadState state) throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic java.util.Iterator<java.lang.String> iterator()
public Terms terms(java.lang.String field)
throws java.io.IOException
java.io.IOExceptionpublic int size()
public long ramBytesUsed()
public java.util.Collection<Accountable> getChildResources()
public java.lang.String toString()
public void checkIntegrity()
throws java.io.IOException
java.io.IOExceptionData In Motion GmbH all rights reserved