use of org.apache.phoenix.expression.aggregator.LongSumAggregator in project phoenix by apache.
the class CountAggregateFunction method newServerAggregator.
@Override
public Aggregator newServerAggregator(Configuration config, ImmutableBytesWritable ptr) {
LongSumAggregator sumAgg = newClientAggregator();
sumAgg.aggregate(null, ptr);
return new CountAggregator(sumAgg);
}
Aggregations