Module org.apache.lucene.queries
Class OverlappingIntervalsSource
java.lang.Object
org.apache.lucene.queries.intervals.IntervalsSource
org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
org.apache.lucene.queries.intervals.OverlappingIntervalsSource
-
Field Summary
FieldsFields inherited from class org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
subSources
-
Constructor Summary
ConstructorsConstructorDescriptionOverlappingIntervalsSource
(IntervalsSource source, IntervalsSource reference) -
Method Summary
Modifier and TypeMethodDescriptionprotected IntervalIterator
combine
(List<IntervalIterator> iterators) protected IntervalMatchesIterator
Create matches iterator from an advanced and validated interval iterator and a list of matches iterator of all the sub-sourcesboolean
int
hashCode()
int
Return the minimum possible width of an interval returned by this sourceExpert: return the set of disjunctions that make up this IntervalsSourcetoString()
Methods inherited from class org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
intervals, matches, visit
-
Field Details
-
source
-
reference
-
-
Constructor Details
-
OverlappingIntervalsSource
OverlappingIntervalsSource(IntervalsSource source, IntervalsSource reference)
-
-
Method Details
-
combine
- Specified by:
combine
in classConjunctionIntervalsSource
-
createMatchesIterator
protected IntervalMatchesIterator createMatchesIterator(IntervalIterator it, List<IntervalMatchesIterator> subs) Description copied from class:ConjunctionIntervalsSource
Create matches iterator from an advanced and validated interval iterator and a list of matches iterator of all the sub-sources- Overrides:
createMatchesIterator
in classConjunctionIntervalsSource
-
minExtent
public int minExtent()Description copied from class:IntervalsSource
Return the minimum possible width of an interval returned by this source- Specified by:
minExtent
in classIntervalsSource
-
pullUpDisjunctions
Description copied from class:IntervalsSource
Expert: return the set of disjunctions that make up this IntervalsSourceMost implementations can return
Collections.singleton(this)
- Specified by:
pullUpDisjunctions
in classIntervalsSource
-
hashCode
public int hashCode()- Specified by:
hashCode
in classIntervalsSource
-
equals
- Specified by:
equals
in classIntervalsSource
-
toString
- Specified by:
toString
in classIntervalsSource
-