public static class AssertingLeafReader.AssertingTerms extends FilterLeafReader.FilterTerms
inEMPTY_ARRAY| Constructor and Description |
|---|
AssertingTerms(Terms in) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDocCount() |
BytesRef |
getMax() |
BytesRef |
getMin() |
long |
getSumDocFreq() |
long |
getSumTotalTermFreq() |
TermsEnum |
intersect(CompiledAutomaton automaton,
BytesRef bytes) |
TermsEnum |
iterator() |
String |
toString() |
getStats, hasFreqs, hasOffsets, hasPayloads, hasPositions, sizepublic AssertingTerms(Terms in)
public TermsEnum intersect(CompiledAutomaton automaton, BytesRef bytes) throws IOException
intersect in class TermsIOExceptionpublic BytesRef getMin() throws IOException
getMin in class TermsIOExceptionpublic BytesRef getMax() throws IOException
getMax in class TermsIOExceptionpublic int getDocCount()
throws IOException
getDocCount in class FilterLeafReader.FilterTermsIOExceptionpublic long getSumDocFreq()
throws IOException
getSumDocFreq in class FilterLeafReader.FilterTermsIOExceptionpublic long getSumTotalTermFreq()
throws IOException
getSumTotalTermFreq in class FilterLeafReader.FilterTermsIOExceptionpublic TermsEnum iterator() throws IOException
iterator in class FilterLeafReader.FilterTermsIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.