public class AggregationMethodFactoryCount extends Object implements AggregationMethodFactory
Modifier and Type | Field and Description |
---|---|
protected Class |
countedValueType |
protected boolean |
ignoreNulls |
protected ExprCountNode |
parent |
Constructor and Description |
---|
AggregationMethodFactoryCount(ExprCountNode parent,
boolean ignoreNulls,
Class countedValueType) |
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) |
static ExprEvaluator |
getMethodAggregationEvaluatorCountBy(ExprNode[] childNodes,
boolean join,
EventType[] typesPerStream) |
Class |
getResultType() |
boolean |
isAccessAggregation() |
AggregationMethod |
make() |
void |
validateIntoTableCompatible(AggregationMethodFactory intoTableAgg) |
protected final ExprCountNode parent
protected final boolean ignoreNulls
protected final Class countedValueType
public AggregationMethodFactoryCount(ExprCountNode parent, boolean ignoreNulls, Class countedValueType)
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
public static ExprEvaluator getMethodAggregationEvaluatorCountBy(ExprNode[] childNodes, boolean join, EventType[] typesPerStream) throws ExprValidationException
ExprValidationException