public class EqualToHavingSpec extends Object implements HavingSpec
ALWAYS, NEVER
Constructor and Description |
---|
EqualToHavingSpec(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(io.druid.data.input.Row row)
Evaluates if a given row satisfies the having spec.
|
String |
getAggregationName() |
byte[] |
getCacheKey() |
Number |
getValue() |
int |
hashCode() |
String |
toString() |
public Number getValue()
public String getAggregationName()
public boolean eval(io.druid.data.input.Row row)
HavingSpec
eval
in interface HavingSpec
row
- A Row of data that may contain aggregated valuespublic byte[] getCacheKey()
getCacheKey
in interface HavingSpec
public boolean equals(Object o)
Copyright © 2011–2015. All rights reserved.