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.
|
byte[] |
getCacheKey()
Get a byte array used as a cache key.
|
List<HavingSpec> |
getHavingSpecs() |
int |
hashCode() |
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)
HavingSpec
setRowSignature
in interface HavingSpec
setRowSignature
in class BaseHavingSpec
rowSignature
- signature of the rowspublic boolean eval(Row row)
HavingSpec
row
- A Row of data that may contain aggregated valuespublic byte[] getCacheKey()
Cacheable
Copyright © 2011–2017. All rights reserved.