| Constructor and Description |
|---|
SpatialDimFilter(String dimension,
com.metamx.collections.spatial.search.Bound bound) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.metamx.collections.spatial.search.Bound |
getBound() |
byte[] |
getCacheKey() |
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.
|
int |
hashCode() |
DimFilter |
optimize() |
Filter |
toFilter()
Returns a Filter that implements this DimFilter.
|
String |
toString() |
public SpatialDimFilter(String dimension, com.metamx.collections.spatial.search.Bound bound)
public byte[] getCacheKey()
getCacheKey in interface DimFilterpublic DimFilter optimize()
public String getDimension()
public com.metamx.collections.spatial.search.Bound getBound()
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–2016. All rights reserved.