public class AndHavingSpec extends Object implements HavingSpec
| Constructor and Description |
|---|
AndHavingSpec(List<HavingSpec> havingSpecs) |
| 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() |
List<HavingSpec> |
getHavingSpecs() |
int |
hashCode() |
void |
setQuery(GroupByQuery query)
Informs this HavingSpec that rows passed to "eval" will originate from a particular groupBy query.
|
String |
toString() |
public AndHavingSpec(List<HavingSpec> havingSpecs)
public List<HavingSpec> getHavingSpecs()
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.