Class NonOverlappingIntervalsSource.NonOverlappingIterator
- 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.NonOverlappingIntervalsSource.NonOverlappingIterator
-
- Enclosing class:
- NonOverlappingIntervalsSource
private static class NonOverlappingIntervalsSource.NonOverlappingIterator extends RelativeIterator
-
-
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
Constructors Modifier Constructor Description private
NonOverlappingIterator(IntervalIterator minuend, IntervalIterator subtrahend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
nextInterval()
Advance the iterator to the next interval-
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 Detail
-
NonOverlappingIterator
private NonOverlappingIterator(IntervalIterator minuend, IntervalIterator subtrahend)
-
-
Method Detail
-
nextInterval
public int nextInterval() throws java.io.IOException
Description copied from class:IntervalIterator
Advance the iterator to the next interval- 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:
java.io.IOException
-
-