public final class OrdsBlockTreeTermsReader extends FieldsProducer
EMPTY_ARRAY| Constructor and Description |
|---|
OrdsBlockTreeTermsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo info,
PostingsReaderBase postingsReader,
IOContext ioContext,
String segmentSuffix)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity() |
void |
close() |
Iterator<String> |
iterator() |
long |
ramBytesUsed() |
int |
size() |
Terms |
terms(String field) |
getUniqueTermCountpublic OrdsBlockTreeTermsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo info, PostingsReaderBase postingsReader, IOContext ioContext, String segmentSuffix) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FieldsProducerIOExceptionpublic Terms terms(String field) throws IOException
terms in class FieldsIOExceptionpublic long ramBytesUsed()
public void checkIntegrity()
throws IOException
checkIntegrity in class FieldsProducerIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.