public class NotDimFilter extends AbstractOptimizableDimFilter implements DimFilter
DimFilter.DimFilterToStringBuilder| Constructor and Description |
|---|
NotDimFilter(DimFilter field) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte[] |
getCacheKey() |
com.google.common.collect.RangeSet<String> |
getDimensionRangeSet(String dimension)
There are some special cases involving null that require special casing for And and Or instead of simply taking
the complement
Example 1 : "NOT ( [0,INF) OR null)" The inside of NOT would evaluate to null, and the complement would also
be null.
|
DimFilter |
getField() |
Set<String> |
getRequiredColumns() |
int |
hashCode() |
DimFilter |
optimize() |
Filter |
toFilter()
Returns a Filter that implements this DimFilter.
|
String |
toString() |
toOptimizedFilterclone, finalize, getClass, notify, notifyAll, wait, wait, waittoOptimizedFilterpublic NotDimFilter(DimFilter field)
public DimFilter getField()
public byte[] getCacheKey()
getCacheKey in interface Cacheablepublic DimFilter optimize()
public Filter toFilter()
DimFilterpublic com.google.common.collect.RangeSet<String> getDimensionRangeSet(String dimension)
getDimensionRangeSet in interface DimFilterdimension - name of the dimension to get range forpublic Set<String> getRequiredColumns()
getRequiredColumns in interface DimFilterCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.