Constructor and Description |
---|
IntervalDimFilter(String dimension,
List<org.joda.time.Interval> intervals,
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() |
List<org.joda.time.Interval> |
getIntervals() |
int |
hashCode() |
DimFilter |
optimize() |
Filter |
toFilter()
Returns a Filter that implements this DimFilter.
|
public IntervalDimFilter(String dimension, List<org.joda.time.Interval> intervals, ExtractionFn extractionFn)
public String getDimension()
public List<org.joda.time.Interval> getIntervals()
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.