public class DimensionSelectorHavingSpec extends Object implements HavingSpec
| Constructor and Description |
|---|
DimensionSelectorHavingSpec(String dimName,
String value,
ExtractionFn extractionFn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
eval(ResultRow row)
Evaluates if a given row satisfies the having spec.
|
byte[] |
getCacheKey() |
String |
getDimension() |
ExtractionFn |
getExtractionFn() |
String |
getValue() |
int |
hashCode() |
void |
setQuery(GroupByQuery query)
Informs this HavingSpec that rows passed to "eval" will originate from a particular groupBy query.
|
String |
toString() |
public DimensionSelectorHavingSpec(String dimName, String value, ExtractionFn extractionFn)
public String getValue()
public String getDimension()
public ExtractionFn getExtractionFn()
public void setQuery(GroupByQuery query)
HavingSpecsetQuery in interface HavingSpecpublic boolean eval(ResultRow row)
HavingSpeceval in interface HavingSpecrow - A Row of data that may contain aggregated valuespublic byte[] getCacheKey()
getCacheKey in interface CacheableCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.