Class ExprCountEverNode
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
com.espertech.esper.common.internal.epl.expression.agg.base.ExprAggregateNodeBase
com.espertech.esper.common.internal.epl.expression.agg.method.ExprCountEverNode
- All Implemented Interfaces:
ExprAggregateNode
,ExprEvaluator
,ExprForge
,ExprForgeInstrumentable
,ExprNode
,ExprNodeRenderable
,ExprValidator
Represents the "countever" aggregate function is an expression tree.
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.expression.agg.base.ExprAggregateNodeBase
aggregationResultFutureMemberName, column, isDistinct, optionalAggregateLocalGroupByDesc, optionalFilter, positionalParams
Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
EPTYPE, EPTYPEARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Return true if a expression aggregate node semantically equals the current node, or false if not.Returns the aggregation function name for representation in a generate expression string.boolean
protected boolean
validateAggregationChild
(ExprValidationContext validationContext) Gives the aggregation node a chance to validate the sub-expression types.Methods inherited from class com.espertech.esper.common.internal.epl.expression.agg.base.ExprAggregateNodeBase
equalsNode, evaluate, evaluateCodegen, evaluateCodegenUninstrumented, getAggFuture, getColumn, getEvaluationType, getExprEvaluator, getFactory, getForge, getForgeConstantType, getForgeRenderable, getOptionalFilter, getOptionalLocalGroupBy, getPositionalParams, getPrecedence, isConstantResult, isDistinct, isExprTextWildcardWhenNoParams, makeExceptionExpectedParamNum, setColumn, toPrecedenceFreeEPL, validate, validateFilter, validateNumericChildAllowFilter, validatePositionals
Methods inherited from class com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprNode
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes
Methods inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprNodeRenderable
toEPL
-
Constructor Details
-
ExprCountEverNode
public ExprCountEverNode(boolean distinct)
-
-
Method Details
-
validateAggregationChild
public AggregationForgeFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException Description copied from class:ExprAggregateNodeBase
Gives the aggregation node a chance to validate the sub-expression types.- Specified by:
validateAggregationChild
in classExprAggregateNodeBase
- Parameters:
validationContext
- validation information- Returns:
- aggregation function factory to use
- Throws:
ExprValidationException
- when expression validation failed
-
hasFilter
public boolean hasFilter() -
getAggregationFunctionName
Description copied from class:ExprAggregateNodeBase
Returns the aggregation function name for representation in a generate expression string.- Specified by:
getAggregationFunctionName
in classExprAggregateNodeBase
- Returns:
- aggregation function name
-
equalsNodeAggregateMethodOnly
Description copied from class:ExprAggregateNodeBase
Return true if a expression aggregate node semantically equals the current node, or false if not.For use by the equalsNode implementation which compares the distinct flag.
- Specified by:
equalsNodeAggregateMethodOnly
in classExprAggregateNodeBase
- Parameters:
node
- to compare to- Returns:
- true if semantically equal, or false if not equals
-
isFilterExpressionAsLastParameter
protected boolean isFilterExpressionAsLastParameter()- Specified by:
isFilterExpressionAsLastParameter
in classExprAggregateNodeBase
-