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
-
-
Field Summary
Fields Modifier and Type Field Description private IntervalsSourcereferenceprivate IntervalsSourcesource-
Fields inherited from class org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
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)protected IntervalMatchesIteratorcreateMatchesIterator(IntervalIterator it, java.util.List<IntervalMatchesIterator> subs)Create matches iterator from an advanced and validated interval iterator and a list of matches iterator of all the sub-sourcesbooleanequals(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 IntervalsSourcejava.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
-
createMatchesIterator
protected IntervalMatchesIterator createMatchesIterator(IntervalIterator it, java.util.List<IntervalMatchesIterator> subs)
Description copied from class:ConjunctionIntervalsSourceCreate matches iterator from an advanced and validated interval iterator and a list of matches iterator of all the sub-sources- Overrides:
createMatchesIteratorin 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 IntervalsSourceMost implementations can return
Collections.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
-
-