net.esper.eql.expression
Class AggregationServiceBase
java.lang.Object
net.esper.eql.expression.AggregationServiceBase
- All Implemented Interfaces:
- AggregationResultFuture, AggregationService
- Direct Known Subclasses:
- AggregationServiceGroupAllImpl, AggregationServiceGroupByImpl
public abstract class AggregationServiceBase
- extends Object
- implements AggregationService
All aggregation services require evaluation nodes which supply the value to be aggregated (summed, averaged, etc.)
and aggregation state factories to make new aggregation states.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
evaluators
protected ExprEvaluator[] evaluators
- Evaluation nodes under.
aggregators
protected Aggregator[] aggregators
- Aggregation states and factories.
AggregationServiceBase
public AggregationServiceBase(ExprEvaluator[] evaluators,
Aggregator[] aggregators)
- Ctor.
- Parameters:
evaluators
- - are the child node of each aggregation function used for computing the value to be aggregatedaggregators
- - aggregation states/factories