Package org.apache.lucene.index
Class AssertingLeafReader.AssertingTerms
- java.lang.Object
-
- org.apache.lucene.index.Terms
-
- org.apache.lucene.index.FilterLeafReader.FilterTerms
-
- org.apache.lucene.index.AssertingLeafReader.AssertingTerms
-
- Enclosing class:
- AssertingLeafReader
public static class AssertingLeafReader.AssertingTerms extends FilterLeafReader.FilterTerms
Wraps a Terms but with additional asserts
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.index.FilterLeafReader.FilterTerms
in
-
Fields inherited from class org.apache.lucene.index.Terms
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description AssertingTerms(Terms in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BytesRef
getMax()
BytesRef
getMin()
TermsEnum
intersect(CompiledAutomaton automaton, BytesRef bytes)
TermsEnum
iterator()
String
toString()
-
Methods inherited from class org.apache.lucene.index.FilterLeafReader.FilterTerms
getDocCount, getStats, getSumDocFreq, getSumTotalTermFreq, hasFreqs, hasOffsets, hasPayloads, hasPositions, size
-
-
-
-
Constructor Detail
-
AssertingTerms
public AssertingTerms(Terms in)
-
-
Method Detail
-
intersect
public TermsEnum intersect(CompiledAutomaton automaton, BytesRef bytes) throws IOException
- Overrides:
intersect
in classTerms
- Throws:
IOException
-
getMin
public BytesRef getMin() throws IOException
- Overrides:
getMin
in classTerms
- Throws:
IOException
-
getMax
public BytesRef getMax() throws IOException
- Overrides:
getMax
in classTerms
- Throws:
IOException
-
iterator
public TermsEnum iterator() throws IOException
- Overrides:
iterator
in classFilterLeafReader.FilterTerms
- Throws:
IOException
-
-