Module org.apache.lucene.queries
Class NotContainingIntervalsSource.NotContainingIterator
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.queries.intervals.IntervalIterator
org.apache.lucene.queries.intervals.RelativeIterator
org.apache.lucene.queries.intervals.NotContainingIntervalsSource.NotContainingIterator
- Enclosing class:
NotContainingIntervalsSource
-
Field Summary
Fields inherited from class org.apache.lucene.queries.intervals.RelativeIterator
a, b, bpos
Fields inherited from class org.apache.lucene.queries.intervals.IntervalIterator
NO_MORE_INTERVALS
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
NotContainingIterator
(IntervalIterator minuend, IntervalIterator subtrahend) -
Method Summary
Methods inherited from class org.apache.lucene.queries.intervals.RelativeIterator
advance, cost, docID, end, gaps, matchCost, nextDoc, reset, start
Methods inherited from class org.apache.lucene.queries.intervals.IntervalIterator
toString, width
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
Constructor Details
-
NotContainingIterator
-
-
Method Details
-
nextInterval
Description copied from class:IntervalIterator
Advance the iterator to the next intervalShould not be called after
DocIdSetIterator.NO_MORE_DOCS
is returned byDocIdSetIterator.nextDoc()
orDocIdSetIterator.advance(int)
. If that's the case in some existing code, please consider opening an issue. However, afterIntervalIterator.NO_MORE_INTERVALS
is returned by this method, it might be called again.- Specified by:
nextInterval
in classIntervalIterator
- Returns:
- the start of the next interval, or
IntervalIterator.NO_MORE_INTERVALS
if there are no more intervals on the current document - Throws:
IOException
-