com.espertech.esper.epl.agg.factory
Class AggregationMethodFactoryRate
java.lang.Object
com.espertech.esper.epl.agg.factory.AggregationMethodFactoryRate
- All Implemented Interfaces:
- AggregationMethodFactory
public class AggregationMethodFactoryRate
- extends java.lang.Object
- implements AggregationMethodFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected final ExprRateAggNode parent
isEver
protected final boolean isEver
intervalMSec
protected final long intervalMSec
timeProvider
protected final TimeProvider timeProvider
AggregationMethodFactoryRate
public AggregationMethodFactoryRate(ExprRateAggNode parent,
boolean isEver,
long intervalMSec,
TimeProvider timeProvider)
isAccessAggregation
public boolean isAccessAggregation()
- Specified by:
isAccessAggregation
in interface AggregationMethodFactory
getResultType
public java.lang.Class getResultType()
- Specified by:
getResultType
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