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  AggregationStateFactory[] accessAggregations
           
protected  AggregationMethodFactory[] aggregatorFactories
           
protected  AggregationMethod[] aggregators
          Aggregation states.
protected  ExprEvaluator[] evaluators
          Evaluation nodes under.
 
Constructor Summary
AggregationServiceBaseUngrouped(ExprEvaluator[] evaluators, AggregationMethod[] aggregators, AggregationMethodFactory[] aggregatorFactories, AggregationStateFactory[] accessAggregations)
          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
accept, acceptGroupDetail, applyEnter, applyLeave, clearResults, isGrouped, setCurrentAccess, setRemovedCallback
 
Methods inherited from interface com.espertech.esper.epl.agg.service.AggregationResultFuture
getCollectionOfEvents, getCollectionScalar, getEventBean, getGroupKey, getGroupKeys, getValue
 

Field Detail

evaluators

protected ExprEvaluator[] evaluators
Evaluation nodes under.


aggregators

protected AggregationMethod[] aggregators
Aggregation states.


aggregatorFactories

protected AggregationMethodFactory[] aggregatorFactories

accessAggregations

protected AggregationStateFactory[] accessAggregations
Constructor Detail

AggregationServiceBaseUngrouped

public AggregationServiceBaseUngrouped(ExprEvaluator[] evaluators,
                                       AggregationMethod[] aggregators,
                                       AggregationMethodFactory[] aggregatorFactories,
                                       AggregationStateFactory[] accessAggregations)
Ctor.

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

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