public class BoundDimFilter extends AbstractOptimizableDimFilter implements DimFilter
DimFilter.DimFilterToStringBuilder| Constructor and Description |
|---|
BoundDimFilter(String dimension,
String lower,
String upper,
Boolean lowerStrict,
Boolean upperStrict,
Boolean alphaNumeric,
ExtractionFn extractionFn,
StringComparator ordering) |
BoundDimFilter(String dimension,
String lower,
String upper,
Boolean lowerStrict,
Boolean upperStrict,
Boolean alphaNumeric,
ExtractionFn extractionFn,
StringComparator ordering,
FilterTuning filterTuning) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte[] |
getCacheKey() |
String |
getDimension() |
com.google.common.collect.RangeSet<String> |
getDimensionRangeSet(String dimension)
Returns a RangeSet that represents the possible range of the input dimension for this DimFilter.This is
applicable to filters that use dimensions such as select, in, bound, and logical filters such as and, or, not.
|
com.google.common.base.Supplier<DruidDoublePredicate> |
getDoublePredicateSupplier() |
ExtractionFn |
getExtractionFn() |
FilterTuning |
getFilterTuning() |
com.google.common.base.Supplier<DruidFloatPredicate> |
getFloatPredicateSupplier() |
com.google.common.base.Supplier<DruidLongPredicate> |
getLongPredicateSupplier() |
String |
getLower() |
StringComparator |
getOrdering() |
Set<String> |
getRequiredColumns() |
String |
getUpper() |
int |
hashCode() |
boolean |
hasLowerBound() |
boolean |
hasUpperBound() |
boolean |
isLowerStrict() |
boolean |
isUpperStrict() |
DimFilter |
optimize() |
Filter |
toFilter()
Returns a Filter that implements this DimFilter.
|
String |
toString() |
toOptimizedFilterclone, finalize, getClass, notify, notifyAll, wait, wait, waittoOptimizedFilterpublic BoundDimFilter(String dimension, @Nullable String lower, @Nullable String upper, @Nullable Boolean lowerStrict, @Nullable Boolean upperStrict, @Deprecated @Nullable Boolean alphaNumeric, @Nullable ExtractionFn extractionFn, @Nullable StringComparator ordering, @Nullable FilterTuning filterTuning)
public String getDimension()
public boolean isLowerStrict()
public boolean isUpperStrict()
public boolean hasLowerBound()
public boolean hasUpperBound()
@Nullable public ExtractionFn getExtractionFn()
public StringComparator getOrdering()
@Nullable public FilterTuning getFilterTuning()
public com.google.common.base.Supplier<DruidLongPredicate> getLongPredicateSupplier()
public com.google.common.base.Supplier<DruidFloatPredicate> getFloatPredicateSupplier()
public com.google.common.base.Supplier<DruidDoublePredicate> getDoublePredicateSupplier()
public byte[] getCacheKey()
getCacheKey in interface Cacheablepublic DimFilter optimize()
public Filter toFilter()
DimFilterpublic com.google.common.collect.RangeSet<String> getDimensionRangeSet(String dimension)
DimFiltergetDimensionRangeSet in interface DimFilterdimension - name of the dimension to get range forpublic Set<String> getRequiredColumns()
getRequiredColumns in interface DimFilterCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.