public class ExprAggMultiFunctionLinearAccessNode extends ExprAggregateNodeBase implements ExprEvaluatorEnumeration, ExprAggregateAccessMultiValueNode
aggregationResultFuture, column, isDistinct, optionalAggregateLocalGroupByDesc, optionalFilter, positionalParams
Constructor and Description |
---|
ExprAggMultiFunctionLinearAccessNode(AggregationStateType stateType) |
equalsNode, evaluate, getExprEvaluator, getFactory, getOptionalFilter, getOptionalLocalGroupBy, getPositionalParams, getPrecedence, getType, isConstantResult, isDistinct, isExprTextWildcardWhenNoParams, makeExceptionExpectedParamNum, setAggregationResultFuture, validate, validateFilter, validateNumericChildAllowFilter, validatePositionals
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validatePositionals
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public ExprAggMultiFunctionLinearAccessNode(AggregationStateType stateType)
public AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validateAggregationChild
in class ExprAggregateNodeBase
validationContext
- validation informationExprValidationException
- when expression validation failedpublic AggregationMethodFactory validateAggregationParamsWBinding(ExprValidationContext validationContext, TableMetadataColumnAggregation tableAccessColumn) throws ExprValidationException
validateAggregationParamsWBinding
in interface ExprAggregateAccessMultiValueNode
ExprValidationException
protected static boolean getIstreamOnly(StreamTypeService streamTypeService, int streamNum)
public String getAggregationFunctionName()
ExprAggregateNodeBase
getAggregationFunctionName
in class ExprAggregateNodeBase
public void toPrecedenceFreeEPL(StringWriter writer)
toPrecedenceFreeEPL
in class ExprAggregateNodeBase
public AggregationStateType getStateType()
public Collection<EventBean> evaluateGetROCollectionEvents(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetROCollectionEvents
in interface ExprEvaluatorEnumeration
public Collection evaluateGetROCollectionScalar(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetROCollectionScalar
in interface ExprEvaluatorEnumeration
public EventType getEventTypeCollection(EventAdapterService eventAdapterService, int statementId)
getEventTypeCollection
in interface ExprEvaluatorEnumeration
public Class getComponentTypeCollection() throws ExprValidationException
getComponentTypeCollection
in interface ExprEvaluatorEnumeration
ExprValidationException
public EventType getEventTypeSingle(EventAdapterService eventAdapterService, int statementId) throws ExprValidationException
getEventTypeSingle
in interface ExprEvaluatorEnumeration
ExprValidationException
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetEventBean
in interface ExprEvaluatorEnumeration
protected boolean equalsNodeAggregateMethodOnly(ExprAggregateNode node)
ExprAggregateNodeBase
For use by the equalsNode implementation which compares the distinct flag.
equalsNodeAggregateMethodOnly
in class ExprAggregateNodeBase
node
- to compare toprotected boolean isFilterExpressionAsLastParameter()
isFilterExpressionAsLastParameter
in class ExprAggregateNodeBase