public class RangeListFilter<T extends Comparable<T>,V extends Content<V>,R extends Range<T,V>> extends Object
BacktrackingQueryBuilder and one
here, the explanation is that getting the ranges right is much more important
than getting the filter inside each range as tight as possible. As a result
BacktrackingQueryBuilder uses one min-heap of its own which gets the
best possible ranges, and then the inside each range, we should also get the
best possible filter. But we consider the former to be of utmost importance.| Constructor and Description |
|---|
RangeListFilter(List<R> rangeList,
boolean thresholdExceeded,
Level thresholdExceededLogLevel,
RangeHome<T,V,R> rangeHome) |
| Modifier and Type | Method and Description |
|---|---|
RangeListFilter<T,V,R> |
combine(RangeListFilter<T,V,R> higher,
int threshold,
V gapEstimate) |
static <T extends Comparable<T>,V extends Content<V>,R extends Range<T,V>> |
creator(Level thresholdExceededLogLevel,
RangeHome<T,V,R> rangeHome) |
boolean |
equals(Object o) |
R |
getRange()
Convenience method to extract the range covered by this filter.
|
List<R> |
getRangeList() |
int |
hashCode() |
boolean |
isThresholdExceeded() |
String |
toString() |
public static <T extends Comparable<T>,V extends Content<V>,R extends Range<T,V>> com.google.common.base.Function<R,RangeListFilter<T,V,R>> creator(Level thresholdExceededLogLevel, RangeHome<T,V,R> rangeHome)
public RangeListFilter<T,V,R> combine(RangeListFilter<T,V,R> higher, int threshold, V gapEstimate)
public R getRange()
public boolean isThresholdExceeded()
Copyright © 2014. All Rights Reserved.