Class OverlappingIntervalsSource
- java.lang.Object
-
- org.apache.lucene.queries.intervals.IntervalsSource
-
- org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
-
- org.apache.lucene.queries.intervals.OverlappingIntervalsSource
-
class OverlappingIntervalsSource extends ConjunctionIntervalsSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
ConjunctionIntervalsSource.SingletonMatchesIterator
-
-
Field Summary
Fields Modifier and Type Field Description private IntervalsSourcereferenceprivate IntervalsSourcesource-
Fields inherited from class org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
isMinimizing, subSources
-
-
Constructor Summary
Constructors Constructor Description OverlappingIntervalsSource(IntervalsSource source, IntervalsSource reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IntervalIteratorcombine(java.util.List<IntervalIterator> iterators)booleanequals(java.lang.Object other)inthashCode()intminExtent()Return the minimum possible width of an interval returned by this sourcejava.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.ConjunctionIntervalsSource
intervals, matches, visit
-
-
-
-
Field Detail
-
source
private final IntervalsSource source
-
reference
private final IntervalsSource reference
-
-
Constructor Detail
-
OverlappingIntervalsSource
OverlappingIntervalsSource(IntervalsSource source, IntervalsSource reference)
-
-
Method Detail
-
combine
protected IntervalIterator combine(java.util.List<IntervalIterator> iterators)
- Specified by:
combinein classConjunctionIntervalsSource
-
minExtent
public int minExtent()
Description copied from class:IntervalsSourceReturn the minimum possible width of an interval returned by this source- Specified by:
minExtentin classIntervalsSource
-
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
-
-