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, bposFields inherited from class org.apache.lucene.queries.intervals.IntervalIterator
NO_MORE_INTERVALSFields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateNotContainingIterator(IntervalIterator minuend, IntervalIterator subtrahend) -
Method Summary
Methods inherited from class org.apache.lucene.queries.intervals.RelativeIterator
advance, cost, docID, end, gaps, matchCost, nextDoc, reset, startMethods inherited from class org.apache.lucene.queries.intervals.IntervalIterator
toString, widthMethods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
Constructor Details
-
NotContainingIterator
-
-
Method Details
-
nextInterval
Description copied from class:IntervalIteratorAdvance the iterator to the next intervalShould not be called after
DocIdSetIterator.NO_MORE_DOCSis returned byDocIdSetIterator.nextDoc()orDocIdSetIterator.advance(int). If that's the case in some existing code, please consider opening an issue. However, afterIntervalIterator.NO_MORE_INTERVALSis returned by this method, it might be called again.- Specified by:
nextIntervalin classIntervalIterator- Returns:
- the start of the next interval, or
IntervalIterator.NO_MORE_INTERVALSif there are no more intervals on the current document - Throws:
IOException
-