public class ExprAggMultiFunctionCountMinSketchNode extends ExprAggregateNodeBase implements ExprAggMultiFunctionNode, ExprEnumerationEval
Modifier and Type | Field and Description |
---|---|
static String |
MSG_NAME |
aggregationResultFutureMemberName, column, isDistinct, optionalAggregateLocalGroupByDesc, optionalFilter, positionalParams
EPTYPE, EPTYPEARRAY
Constructor and Description |
---|
ExprAggMultiFunctionCountMinSketchNode(boolean distinct,
CountMinSketchAggType aggType) |
equalsNode, evaluate, evaluateCodegen, evaluateCodegenUninstrumented, getAggFuture, getColumn, getEvaluationType, getExprEvaluator, getFactory, getForge, getForgeConstantType, getForgeRenderable, getOptionalFilter, getOptionalLocalGroupBy, getPositionalParams, getPrecedence, isConstantResult, isDistinct, makeExceptionExpectedParamNum, setColumn, toPrecedenceFreeEPL, validate, validateFilter, validateNumericChildAllowFilter, validatePositionals
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggFuture, getColumn
getForgeRenderable
accept, accept, acceptChildnodes, addChildNode, addChildNodes, equalsNode, getChildNodes, getForge, getPrecedence, replaceUnlistedChildNode, setChildNode, setChildNodes
toEPL
validate
public static final String MSG_NAME
public ExprAggMultiFunctionCountMinSketchNode(boolean distinct, CountMinSketchAggType aggType)
public AggregationForgeFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validateAggregationChild
in class ExprAggregateNodeBase
validationContext
- validation informationExprValidationException
- when expression validation failedpublic ExprEnumerationEval getExprEvaluatorEnumeration()
getExprEvaluatorEnumeration
in interface ExprEnumerationForge
public String getAggregationFunctionName()
ExprAggregateNodeBase
getAggregationFunctionName
in class ExprAggregateNodeBase
public final boolean equalsNodeAggregateMethodOnly(ExprAggregateNode node)
ExprAggregateNodeBase
For use by the equalsNode implementation which compares the distinct flag.
equalsNodeAggregateMethodOnly
in class ExprAggregateNodeBase
node
- to compare topublic CountMinSketchAggType getAggType()
public EventType getEventTypeCollection(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) throws ExprValidationException
getEventTypeCollection
in interface ExprEnumerationForge
ExprValidationException
public Collection<EventBean> evaluateGetROCollectionEvents(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetROCollectionEvents
in interface ExprEnumerationEval
public EPTypeClass getComponentTypeCollection() throws ExprValidationException
getComponentTypeCollection
in interface ExprEnumerationForge
ExprValidationException
public Collection evaluateGetROCollectionScalar(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetROCollectionScalar
in interface ExprEnumerationEval
public CodegenExpression evaluateGetROCollectionScalarCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateGetROCollectionScalarCodegen
in interface ExprEnumerationForge
public CodegenExpression evaluateGetROCollectionEventsCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateGetROCollectionEventsCodegen
in interface ExprEnumerationForge
public EventType getEventTypeSingle(StatementRawInfo statementRawInfo, StatementCompileTimeServices compileTimeServices) throws ExprValidationException
getEventTypeSingle
in interface ExprEnumerationForge
ExprValidationException
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetEventBean
in interface ExprEnumerationEval
public CodegenExpression evaluateGetEventBeanCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateGetEventBeanCodegen
in interface ExprEnumerationForge
protected boolean isExprTextWildcardWhenNoParams()
isExprTextWildcardWhenNoParams
in class ExprAggregateNodeBase
public ExprValidationException getDeclaredWrongParameterExpr() throws ExprValidationException
ExprValidationException
protected boolean isFilterExpressionAsLastParameter()
isFilterExpressionAsLastParameter
in class ExprAggregateNodeBase
public AggregationForgeFactory getAggregationForgeFactory()
getAggregationForgeFactory
in interface ExprAggMultiFunctionNode
Copyright © 2005–2021. All rights reserved.