Class BlockIntervalsSource
- java.lang.Object
-
- org.apache.lucene.queries.intervals.IntervalsSource
-
- org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
-
- org.apache.lucene.queries.intervals.BlockIntervalsSource
-
class BlockIntervalsSource extends ConjunctionIntervalsSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
BlockIntervalsSource.BlockIntervalIterator
-
Field Summary
-
Fields inherited from class org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
isMinimizing, subSources
-
-
Constructor Summary
Constructors Modifier Constructor Description private
BlockIntervalsSource(java.util.List<IntervalsSource> sources)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static IntervalsSource
build(java.util.List<IntervalsSource> subSources)
protected IntervalIterator
combine(java.util.List<IntervalIterator> iterators)
boolean
equals(java.lang.Object other)
private static java.util.List<IntervalsSource>
flatten(java.util.List<IntervalsSource> sources)
int
hashCode()
int
minExtent()
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 IntervalsSource Most implementations can returnCollections.singleton(this)
java.lang.String
toString()
-
Methods inherited from class org.apache.lucene.queries.intervals.ConjunctionIntervalsSource
intervals, matches, visit
-
-
-
-
Constructor Detail
-
BlockIntervalsSource
private BlockIntervalsSource(java.util.List<IntervalsSource> sources)
-
-
Method Detail
-
build
static IntervalsSource build(java.util.List<IntervalsSource> subSources)
-
flatten
private static java.util.List<IntervalsSource> flatten(java.util.List<IntervalsSource> sources)
-
combine
protected IntervalIterator combine(java.util.List<IntervalIterator> iterators)
- Specified by:
combine
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
public java.util.Collection<IntervalsSource> pullUpDisjunctions()
Description copied from class:IntervalsSource
Expert: return the set of disjunctions that make up this IntervalsSource Most implementations can returnCollections.singleton(this)
- Specified by:
pullUpDisjunctions
in classIntervalsSource
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classIntervalsSource
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in classIntervalsSource
-
toString
public java.lang.String toString()
- Specified by:
toString
in classIntervalsSource
-
-