public static final class DataExpr.Count extends Object implements DataExpr.AggregateFunction
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> tags,
boolean shouldCheckQuery)
Get an aggregator that can be incrementally fed values.
|
boolean |
equals(Object obj) |
int |
hashCode() |
Query |
query()
Query for selecting the input measurements that should be aggregated.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaggregator, evalpublic Query query()
DataExprpublic DataExpr.Aggregator aggregator(Map<String,String> tags, boolean shouldCheckQuery)
DataExprDataExpr.eval(Iterable) if
you already have the completed list of values.aggregator in interface DataExprtags - 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.