Module org.apache.lucene.queries
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
ConstructorsModifierConstructorDescriptionprivateContainedByIntervalsSource(IntervalsSource small, IntervalsSource big) -
Method Summary
Modifier and TypeMethodDescription(package private) static IntervalsSourcebuild(IntervalsSource small, IntervalsSource big) protected IntervalIteratorcombine(List<IntervalIterator> iterators) protected IntervalMatchesIteratorCreate matches iterator from an advanced and validated interval iterator and a list of matches iterator of all the sub-sourcesbooleaninthashCode()intReturn 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:
combinein classConjunctionIntervalsSource
-
createMatchesIterator
protected IntervalMatchesIterator createMatchesIterator(IntervalIterator it, 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
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
- Specified by:
equalsin classIntervalsSource
-
toString
- Specified by:
toStringin classIntervalsSource
-