Package org.elasticsearch.test.engine
Class ThrowingLeafReaderWrapper.ThrowingTerms
- java.lang.Object
-
- org.apache.lucene.index.Terms
-
- org.apache.lucene.index.FilterLeafReader.FilterTerms
-
- org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingTerms
-
- Enclosing class:
- ThrowingLeafReaderWrapper
public static class ThrowingLeafReaderWrapper.ThrowingTerms 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 ThrowingTerms(Terms in, ThrowingLeafReaderWrapper.Thrower thrower)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TermsEnum
intersect(org.apache.lucene.util.automaton.CompiledAutomaton automaton, org.apache.lucene.util.BytesRef bytes)
TermsEnum
iterator()
-
Methods inherited from class org.apache.lucene.index.FilterLeafReader.FilterTerms
getDocCount, getStats, getSumDocFreq, getSumTotalTermFreq, hasFreqs, hasOffsets, hasPayloads, hasPositions, size
-
-
-
-
Constructor Detail
-
ThrowingTerms
public ThrowingTerms(Terms in, ThrowingLeafReaderWrapper.Thrower thrower)
-
-
Method Detail
-
intersect
public TermsEnum intersect(org.apache.lucene.util.automaton.CompiledAutomaton automaton, org.apache.lucene.util.BytesRef bytes) throws java.io.IOException
-
iterator
public TermsEnum iterator() throws java.io.IOException
- Overrides:
iterator
in classFilterLeafReader.FilterTerms
- Throws:
java.io.IOException
-
-