Class ContainedByIntervalsSource
java.lang.Object
org.apache.lucene.queries.intervals.IntervalsSource
org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
org.apache.lucene.queries.intervals.ContainedByIntervalsSource
-
Field Summary
FieldsFields inherited from class org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
subSources
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ContainedByIntervalsSource
(IntervalsSource small, IntervalsSource big) -
Method Summary
Modifier and TypeMethodDescription(package private) static IntervalsSource
build
(IntervalsSource small, IntervalsSource big) protected 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
-
small
-
big
-
-
Constructor Details
-
ContainedByIntervalsSource
-
-
Method Details
-
build
-
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
-