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 classNonOverlappingIntervalsSource.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 IntervalIteratorcombine(IntervalIterator minuend, IntervalIterator subtrahend)booleanequals(java.lang.Object other)inthashCode()java.util.Collection<IntervalsSource>pullUpDisjunctions()Expert: return the set of disjunctions that make up this IntervalsSource Most implementations can returnCollections.singleton(this)java.lang.StringtoString()-
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:
combinein classDifferenceIntervalsSource
-
pullUpDisjunctions
public java.util.Collection<IntervalsSource> pullUpDisjunctions()
Description copied from class:IntervalsSourceExpert: return the set of disjunctions that make up this IntervalsSource Most implementations can returnCollections.singleton(this)- Specified by:
pullUpDisjunctionsin classIntervalsSource
-
hashCode
public int hashCode()
- Specified by:
hashCodein classIntervalsSource
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equalsin classIntervalsSource
-
toString
public java.lang.String toString()
- Specified by:
toStringin classIntervalsSource
-
-