public class PlainFilterCombiner<F,T extends Comparable<T>,V extends Content<V>,R extends Range<T,V>> extends Object implements FilterCombiner<F,V,R>
fixedFilter as
the combined filter.| Constructor and Description |
|---|
PlainFilterCombiner(F filter) |
| Modifier and Type | Method and Description |
|---|---|
SelectiveFilter<F> |
combine(FilteredIndexRange<F,R> firstFilteredRange,
FilteredIndexRange<F,R> secondFilteredRange,
V gapEstimate)
Produces a marker of potential selectivity iff at least one of the
following holds:
gapEstimate != 0
firstFilteredRange.isPotentialOverSelectivity() holds
secondFilteredRange.isPotentialOverSelectivity() holds
|
public PlainFilterCombiner(F filter)
public SelectiveFilter<F> combine(FilteredIndexRange<F,R> firstFilteredRange, FilteredIndexRange<F,R> secondFilteredRange, V gapEstimate)
gapEstimate != 0firstFilteredRange.isPotentialOverSelectivity() holdssecondFilteredRange.isPotentialOverSelectivity() holdscombine in interface FilterCombiner<F,V extends Content<V>,R extends Range<T,V>>firstFilteredRange - the filtered index range coming before on the
space filling curvesecondFilteredRange - the filtered index range coming after on the
space filling curvegapEstimate - the estimate of the number of points in the gap between
the index ranges. If zero, then it is guaranteed that there are no data
points in between. If non zero, it is just an estimate and its accuracy
depends on the accuracy provided by the RegionInspector in use.
If the two ranges are adjacent, i.e. firstFilteredRange.getIndexRange().getEnd() ==
secondFilteredRange.getIndexRange().getStart(), then the gap estimate is
guaranteed to be zero.Copyright © 2014. All Rights Reserved.