public class GreaterThanHavingSpec extends Object implements HavingSpec
| Constructor and Description |
|---|
GreaterThanHavingSpec(String aggName,
Number value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
This method treats internal value as double mainly for ease of test.
|
boolean |
eval(ResultRow row)
Evaluates if a given row satisfies the having spec.
|
String |
getAggregationName() |
byte[] |
getCacheKey() |
Number |
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 String getAggregationName()
public Number getValue()
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 boolean equals(Object o)
public byte[] getCacheKey()
getCacheKey in interface CacheableCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.