Module org.apache.lucene.queries
Class OrderedIntervalsSource
java.lang.Object
org.apache.lucene.queries.intervals.IntervalsSource
org.apache.lucene.queries.intervals.MinimizingConjunctionIntervalsSource
org.apache.lucene.queries.intervals.OrderedIntervalsSource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
Nested classes/interfaces inherited from class org.apache.lucene.queries.intervals.MinimizingConjunctionIntervalsSource
MinimizingConjunctionIntervalsSource.MatchCallback
-
Field Summary
Fields inherited from class org.apache.lucene.queries.intervals.MinimizingConjunctionIntervalsSource
subSources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static IntervalsSource
build
(List<IntervalsSource> sources) protected IntervalIterator
combine
(List<IntervalIterator> iterators, MinimizingConjunctionIntervalsSource.MatchCallback onMatch) private static List<IntervalsSource>
deduplicate
(List<IntervalsSource> sources) boolean
private static List<IntervalsSource>
flatten
(List<IntervalsSource> sources) 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.MinimizingConjunctionIntervalsSource
cacheIterators, intervals, matches, visit
-
Constructor Details
-
OrderedIntervalsSource
-
-
Method Details
-
build
-
flatten
-
deduplicate
-
combine
protected IntervalIterator combine(List<IntervalIterator> iterators, MinimizingConjunctionIntervalsSource.MatchCallback onMatch) - Specified by:
combine
in classMinimizingConjunctionIntervalsSource
-
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
-