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