Class NonOverlappingIntervalsSource
- java.lang.Object
-
- org.apache.lucene.queries.intervals.IntervalsSource
-
- org.apache.lucene.queries.intervals.DifferenceIntervalsSource
-
- org.apache.lucene.queries.intervals.NonOverlappingIntervalsSource
-
class NonOverlappingIntervalsSource extends DifferenceIntervalsSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
NonOverlappingIntervalsSource.NonOverlappingIterator
-
Field Summary
-
Fields inherited from class org.apache.lucene.queries.intervals.DifferenceIntervalsSource
minuend, subtrahend
-
-
Constructor Summary
Constructors Constructor Description NonOverlappingIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IntervalIterator
combine(IntervalIterator minuend, IntervalIterator subtrahend)
boolean
equals(java.lang.Object other)
int
hashCode()
java.util.Collection<IntervalsSource>
pullUpDisjunctions()
Expert: return the set of disjunctions that make up this IntervalsSource Most implementations can returnCollections.singleton(this)
java.lang.String
toString()
-
Methods inherited from class org.apache.lucene.queries.intervals.DifferenceIntervalsSource
intervals, matches, minExtent, visit
-
-
-
-
Constructor Detail
-
NonOverlappingIntervalsSource
NonOverlappingIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend)
-
-
Method Detail
-
combine
protected IntervalIterator combine(IntervalIterator minuend, IntervalIterator subtrahend)
- Specified by:
combine
in classDifferenceIntervalsSource
-
pullUpDisjunctions
public java.util.Collection<IntervalsSource> pullUpDisjunctions()
Description copied from class:IntervalsSource
Expert: return the set of disjunctions that make up this IntervalsSource Most implementations can returnCollections.singleton(this)
- Specified by:
pullUpDisjunctions
in classIntervalsSource
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classIntervalsSource
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in classIntervalsSource
-
toString
public java.lang.String toString()
- Specified by:
toString
in classIntervalsSource
-
-