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

java.lang.Object
  extended by com.espertech.esper.epl.agg.service.AggregationServiceFactoryBase
All Implemented Interfaces:
AggregationServiceFactory
Direct Known Subclasses:
AggSvcGroupAllMixedAccessFactory, AggSvcGroupAllNoAccessFactory, AggSvcGroupByMixedAccessFactory, AggSvcGroupByNoAccessFactory, AggSvcGroupByReclaimAgedFactory, AggSvcGroupByRefcountedNoAccessFactory, AggSvcGroupByRefcountedWAccessFactory, AggSvcGroupByRefcountedWAccessRollupFactory

public abstract class AggregationServiceFactoryBase
extends java.lang.Object
implements AggregationServiceFactory

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  AggregationMethodFactory[] aggregators
          Prototype aggregation states and factories.
protected  ExprEvaluator[] evaluators
          Evaluation nodes under.
protected  java.lang.Object groupKeyBinding
           
 
Constructor Summary
AggregationServiceFactoryBase(ExprEvaluator[] evaluators, AggregationMethodFactory[] aggregators, java.lang.Object groupKeyBinding)
          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.AggregationServiceFactory
makeService
 

Field Detail

evaluators

protected ExprEvaluator[] evaluators
Evaluation nodes under.


aggregators

protected AggregationMethodFactory[] aggregators
Prototype aggregation states and factories.


groupKeyBinding

protected java.lang.Object groupKeyBinding
Constructor Detail

AggregationServiceFactoryBase

public AggregationServiceFactoryBase(ExprEvaluator[] evaluators,
                                     AggregationMethodFactory[] aggregators,
                                     java.lang.Object groupKeyBinding)
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