Class FilteredIntervalsSource.MaxWidth
- java.lang.Object
-
- org.apache.lucene.queries.intervals.IntervalsSource
-
- org.apache.lucene.queries.intervals.FilteredIntervalsSource
-
- org.apache.lucene.queries.intervals.FilteredIntervalsSource.MaxWidth
-
- Enclosing class:
- FilteredIntervalsSource
private static class FilteredIntervalsSource.MaxWidth extends FilteredIntervalsSource
-
-
Field Summary
Fields Modifier and Type Field Description private int
maxWidth
-
Fields inherited from class org.apache.lucene.queries.intervals.FilteredIntervalsSource
in
-
-
Constructor Summary
Constructors Constructor Description MaxWidth(IntervalsSource in, int maxWidth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
accept(IntervalIterator it)
java.util.Collection<IntervalsSource>
pullUpDisjunctions()
Expert: return the set of disjunctions that make up this IntervalsSource Most implementations can returnCollections.singleton(this)
-
-
-
Constructor Detail
-
MaxWidth
MaxWidth(IntervalsSource in, int maxWidth)
-
-
Method Detail
-
accept
protected boolean accept(IntervalIterator it)
- Specified by:
accept
in classFilteredIntervalsSource
- Returns:
false
if the current interval should be filtered out
-
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)
- Overrides:
pullUpDisjunctions
in classFilteredIntervalsSource
-
-