public interface DimFilter extends Cacheable
| Modifier and Type | Interface and Description |
|---|---|
static class |
DimFilter.DimFilterToStringBuilder
Wrapper for
StringBuilder to re-use common patterns in custom DimFilter#toString() implementations |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Set<String> |
getRequiredColumns() |
DimFilter |
optimize() |
Filter |
toFilter()
Returns a Filter that implements this DimFilter.
|
Filter |
toOptimizedFilter() |
getCacheKeyDimFilter optimize()
Filter toOptimizedFilter()
AbstractOptimizableDimFilter for a common implementation shared by
current DimFilters.
The Filter returned by this method across multiple calls must be the same object: parts of the query stack
compare Filters, and returning the same object allows these checks to avoid deep comparisons.
(see for an exampleFilter toFilter()
@Nullable com.google.common.collect.RangeSet<String> getDimensionRangeSet(String dimension)
dimension - name of the dimension to get range forCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.