com.espertech.esper.epl.agg.service
Class AggregationServiceBaseUngrouped

java.lang.Object
  extended by com.espertech.esper.epl.agg.service.AggregationServiceBaseUngrouped
All Implemented Interfaces:
AggregationResultFuture, AggregationService
Direct Known Subclasses:
AggSvcGroupAllMixedAccessImpl, AggSvcGroupAllNoAccessImpl

public abstract class AggregationServiceBaseUngrouped
extends java.lang.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.


Field Summary
protected  AggregationMethod[] aggregators
          Aggregation states.
protected  ExprEvaluator[] evaluators
          Evaluation nodes under.
 
Constructor Summary
AggregationServiceBaseUngrouped(ExprEvaluator[] evaluators, AggregationMethod[] aggregators)
          Ctor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.espertech.esper.epl.agg.service.AggregationService
applyEnter, applyLeave, clearResults, setCurrentAccess, setRemovedCallback
 
Methods inherited from interface com.espertech.esper.epl.agg.service.AggregationResultFuture
getCollection, getEventBean, getValue
 

Field Detail

evaluators

protected ExprEvaluator[] evaluators
Evaluation nodes under.


aggregators

protected AggregationMethod[] aggregators
Aggregation states.

Constructor Detail

AggregationServiceBaseUngrouped

public AggregationServiceBaseUngrouped(ExprEvaluator[] evaluators,
                                       AggregationMethod[] aggregators)
Ctor.

Parameters:
evaluators - - are the child node of each aggregation function used for computing the value to be aggregated
aggregators - - aggregation states/factories

© 2006-2011 EsperTech Inc.
All rights reserved.
Visit us at espertech.com