Constructor and Description |
---|
RegexDimFilter(String dimension,
String pattern,
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() |
String |
getPattern() |
int |
hashCode() |
DimFilter |
optimize() |
Filter |
toFilter()
Returns a Filter that implements this DimFilter.
|
String |
toString() |
public RegexDimFilter(String dimension, String pattern, ExtractionFn extractionFn)
public String getDimension()
public String getPattern()
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.