public class OrHavingSpec extends BaseHavingSpec
ALWAYS, NEVER| Constructor and Description |
|---|
OrHavingSpec(List<HavingSpec> havingSpecs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
eval(Row row)
Evaluates if a given row satisfies the having spec.
|
List<HavingSpec> |
getHavingSpecs() |
int |
hashCode() |
void |
setAggregators(Map<String,AggregatorFactory> aggregators) |
void |
setRowSignature(Map<String,ValueType> rowSignature)
Informs this HavingSpec that rows passed to "eval" will have a certain signature.
|
String |
toString() |
public OrHavingSpec(List<HavingSpec> havingSpecs)
public List<HavingSpec> getHavingSpecs()
public void setRowSignature(Map<String,ValueType> rowSignature)
HavingSpecsetRowSignature in interface HavingSpecsetRowSignature in class BaseHavingSpecrowSignature - signature of the rowspublic void setAggregators(Map<String,AggregatorFactory> aggregators)
setAggregators in interface HavingSpecsetAggregators in class BaseHavingSpecpublic boolean eval(Row row)
HavingSpecrow - A Row of data that may contain aggregated valuesCopyright © 2011–2018. All rights reserved.