| Modifier and Type | Field and Description |
|---|---|
static int |
NUMERIC_HASHING_THRESHOLD |
| Constructor and Description |
|---|
InDimFilter(String dimension,
Collection<String> values,
ExtractionFn extractionFn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte[] |
getCacheKey()
Get a byte array used as a cache key.
|
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.
|
ExtractionFn |
getExtractionFn() |
Set<String> |
getValues() |
int |
hashCode() |
DimFilter |
optimize() |
Filter |
toFilter()
Returns a Filter that implements this DimFilter.
|
String |
toString() |
public static final int NUMERIC_HASHING_THRESHOLD
public InDimFilter(String dimension, Collection<String> values, ExtractionFn extractionFn)
public String getDimension()
public ExtractionFn getExtractionFn()
public byte[] getCacheKey()
CacheablegetCacheKey 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 forCopyright © 2011–2017. All rights reserved.