public class AggregationMethodFactoryAvg extends Object implements AggregationMethodFactory
Modifier and Type | Field and Description |
---|---|
protected Class |
childType |
protected MathContext |
optionalMathContext |
protected ExprAvgNode |
parent |
protected Class |
resultType |
Constructor and Description |
---|
AggregationMethodFactoryAvg(ExprAvgNode parent,
Class childType,
MathContext optionalMathContext) |
Modifier and Type | Method and Description |
---|---|
AggregationAccessor |
getAccessor() |
ExprAggregateNodeBase |
getAggregationExpression() |
AggregationAgent |
getAggregationStateAgent(EngineImportService engineImportService,
String statementName) |
AggregationStateFactory |
getAggregationStateFactory(boolean isMatchRecognize) |
AggregationStateKey |
getAggregationStateKey(boolean isMatchRecognize) |
ExprEvaluator |
getMethodAggregationEvaluator(boolean join,
EventType[] typesPerStream) |
Class |
getResultType() |
boolean |
isAccessAggregation() |
AggregationMethod |
make() |
void |
validateIntoTableCompatible(AggregationMethodFactory intoTableAgg) |
protected final ExprAvgNode parent
protected final Class childType
protected final Class resultType
protected final MathContext optionalMathContext
public AggregationMethodFactoryAvg(ExprAvgNode parent, Class childType, MathContext optionalMathContext)
public boolean isAccessAggregation()
isAccessAggregation
in interface AggregationMethodFactory
public Class getResultType()
getResultType
in interface AggregationMethodFactory
public AggregationStateKey getAggregationStateKey(boolean isMatchRecognize)
getAggregationStateKey
in interface AggregationMethodFactory
public AggregationStateFactory getAggregationStateFactory(boolean isMatchRecognize)
getAggregationStateFactory
in interface AggregationMethodFactory
public AggregationAccessor getAccessor()
getAccessor
in interface AggregationMethodFactory
public AggregationMethod make()
make
in interface AggregationMethodFactory
public ExprAggregateNodeBase getAggregationExpression()
getAggregationExpression
in interface AggregationMethodFactory
public void validateIntoTableCompatible(AggregationMethodFactory intoTableAgg) throws ExprValidationException
validateIntoTableCompatible
in interface AggregationMethodFactory
ExprValidationException
public AggregationAgent getAggregationStateAgent(EngineImportService engineImportService, String statementName)
getAggregationStateAgent
in interface AggregationMethodFactory
public ExprEvaluator getMethodAggregationEvaluator(boolean join, EventType[] typesPerStream) throws ExprValidationException
getMethodAggregationEvaluator
in interface AggregationMethodFactory
ExprValidationException