com.espertech.esper.epl.agg.factory
Class AggregationMethodFactoryPlugIn

java.lang.Object
  extended by com.espertech.esper.epl.agg.factory.AggregationMethodFactoryPlugIn
All Implemented Interfaces:
AggregationMethodFactory

public class AggregationMethodFactoryPlugIn
extends java.lang.Object
implements AggregationMethodFactory


Field Summary
protected  java.lang.Class aggregatedValueType
           
protected  AggregationFunctionFactory aggregationFunctionFactory
           
protected  ExprPlugInAggNode parent
           
 
Constructor Summary
AggregationMethodFactoryPlugIn(ExprPlugInAggNode parent, AggregationFunctionFactory aggregationFunctionFactory, java.lang.Class aggregatedValueType)
           
 
Method Summary
 AggregationAccessor getAccessor()
           
 ExprAggregateNodeBase getAggregationExpression()
           
 AggregationAgent getAggregationStateAgent()
           
 AggregationStateFactory getAggregationStateFactory(boolean isMatchRecognize)
           
 AggregationStateKey getAggregationStateKey(boolean isMatchRecognize)
           
 ExprEvaluator getMethodAggregationEvaluator(boolean join, EventType[] typesPerStream)
           
 java.lang.Class getResultType()
           
 boolean isAccessAggregation()
           
 AggregationMethod make()
           
 void validateIntoTableCompatible(AggregationMethodFactory intoTableAgg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected final ExprPlugInAggNode parent

aggregationFunctionFactory

protected final AggregationFunctionFactory aggregationFunctionFactory

aggregatedValueType

protected final java.lang.Class aggregatedValueType
Constructor Detail

AggregationMethodFactoryPlugIn

public AggregationMethodFactoryPlugIn(ExprPlugInAggNode parent,
                                      AggregationFunctionFactory aggregationFunctionFactory,
                                      java.lang.Class aggregatedValueType)
Method Detail

getResultType

public java.lang.Class getResultType()
Specified by:
getResultType in interface AggregationMethodFactory

isAccessAggregation

public boolean isAccessAggregation()
Specified by:
isAccessAggregation in interface AggregationMethodFactory

getAggregationStateKey

public AggregationStateKey getAggregationStateKey(boolean isMatchRecognize)
Specified by:
getAggregationStateKey in interface AggregationMethodFactory

getAggregationStateFactory

public AggregationStateFactory getAggregationStateFactory(boolean isMatchRecognize)
Specified by:
getAggregationStateFactory in interface AggregationMethodFactory

getAccessor

public AggregationAccessor getAccessor()
Specified by:
getAccessor in interface AggregationMethodFactory

make

public AggregationMethod make()
Specified by:
make in interface AggregationMethodFactory

getAggregationExpression

public ExprAggregateNodeBase getAggregationExpression()
Specified by:
getAggregationExpression in interface AggregationMethodFactory

validateIntoTableCompatible

public void validateIntoTableCompatible(AggregationMethodFactory intoTableAgg)
                                 throws ExprValidationException
Specified by:
validateIntoTableCompatible in interface AggregationMethodFactory
Throws:
ExprValidationException

getAggregationStateAgent

public AggregationAgent getAggregationStateAgent()
Specified by:
getAggregationStateAgent in interface AggregationMethodFactory

getMethodAggregationEvaluator

public ExprEvaluator getMethodAggregationEvaluator(boolean join,
                                                   EventType[] typesPerStream)
                                            throws ExprValidationException
Specified by:
getMethodAggregationEvaluator in interface AggregationMethodFactory
Throws:
ExprValidationException

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