Class NotContainedByIntervalsSource
- java.lang.Object
-
- org.apache.lucene.queries.intervals.IntervalsSource
-
- org.apache.lucene.queries.intervals.DifferenceIntervalsSource
-
- org.apache.lucene.queries.intervals.NotContainedByIntervalsSource
-
class NotContainedByIntervalsSource extends DifferenceIntervalsSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classNotContainedByIntervalsSource.NotContainedByIterator
-
Field Summary
-
Fields inherited from class org.apache.lucene.queries.intervals.DifferenceIntervalsSource
minuend, subtrahend
-
-
Constructor Summary
Constructors Modifier Constructor Description privateNotContainedByIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static IntervalsSourcebuild(IntervalsSource minuend, IntervalsSource subtrahend)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
-
NotContainedByIntervalsSource
private NotContainedByIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend)
-
-
Method Detail
-
build
static IntervalsSource build(IntervalsSource minuend, IntervalsSource subtrahend)
-
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
-
-