DataExpr.AggregateFunction, DataExpr.Aggregator, DataExpr.All, DataExpr.Count, DataExpr.DropRollup, DataExpr.GroupBy, DataExpr.KeepRollup, DataExpr.Max, DataExpr.Min, DataExpr.Sum| Modifier and Type | Method and Description |
|---|---|
DataExpr.Aggregator |
aggregator(Map<String,String> ignored,
boolean shouldCheckQuery)
Get an aggregator that can be incrementally fed values.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isAccumulating()
Returns true if the aggregation type is accumulating (sum or count).
|
boolean |
isCount()
Returns true if the aggregation type is count.
|
Query |
query()
Query for selecting the input measurements that should be aggregated.
|
Map<String,String> |
resultTags(Map<String,String> tags)
Get the set of result tags for a particular datapoint.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaggregator, evalpublic Query query()
DataExprpublic boolean isAccumulating()
DataExprisAccumulating in interface DataExprpublic boolean isCount()
DataExprpublic Map<String,String> resultTags(Map<String,String> tags)
DataExprresultTags in interface DataExprtags - Full set of tags for a datapoint.public DataExpr.Aggregator aggregator(Map<String,String> ignored, boolean shouldCheckQuery)
DataExprDataExpr.eval(Iterable) if
you already have the completed list of values.aggregator in interface DataExprignored - The set of tags for the final aggregate.shouldCheckQuery - If true, then values will be checked against the query before applying to the
aggregate. Otherwise, it is assumed that the user has already verified that the
datapoint matches before passing it in.