Modifier and Type | Class and Description |
---|---|
static class |
JavaScriptDimFilter.JavaScriptPredicateFactory |
Constructor and Description |
---|
JavaScriptDimFilter(String dimension,
String function,
ExtractionFn extractionFn,
JavaScriptConfig config) |
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() |
String |
getFunction() |
int |
hashCode() |
DimFilter |
optimize() |
Filter |
toFilter()
Returns a Filter that implements this DimFilter.
|
String |
toString() |
public JavaScriptDimFilter(String dimension, String function, ExtractionFn extractionFn, JavaScriptConfig config)
public String getDimension()
public String getFunction()
public ExtractionFn getExtractionFn()
public byte[] getCacheKey()
Cacheable
getCacheKey
in interface Cacheable
public DimFilter optimize()
public Filter toFilter()
DimFilter
public com.google.common.collect.RangeSet<String> getDimensionRangeSet(String dimension)
DimFilter
getDimensionRangeSet
in interface DimFilter
dimension
- name of the dimension to get range forCopyright © 2011–2017. All rights reserved.