public interface HavingSpec
Modifier and Type | Field and Description |
---|---|
static HavingSpec |
ALWAYS |
static HavingSpec |
NEVER |
Modifier and Type | Method and Description |
---|---|
boolean |
eval(Row row)
Evaluates if a given row satisfies the having spec.
|
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.
|
static final HavingSpec NEVER
static final HavingSpec ALWAYS
void setRowSignature(Map<String,ValueType> rowSignature)
rowSignature
- signature of the rowsvoid setAggregators(Map<String,AggregatorFactory> aggregators)
boolean eval(Row row)
row
- A Row of data that may contain aggregated valuesCopyright © 2011–2018. All rights reserved.