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 intmaxWidth-
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 booleanaccept(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:
acceptin classFilteredIntervalsSource- Returns:
falseif the current interval should be filtered out
-
pullUpDisjunctions
public java.util.Collection<IntervalsSource> pullUpDisjunctions()
Description copied from class:IntervalsSourceExpert: return the set of disjunctions that make up this IntervalsSource Most implementations can returnCollections.singleton(this)- Overrides:
pullUpDisjunctionsin classFilteredIntervalsSource
-
-