public class ExprCountNode extends ExprAggregateNodeBase
Constructor and Description |
---|
ExprCountNode(boolean distinct,
boolean hasFilter)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equalsNodeAggregate(ExprAggregateNode node)
Return true if a expression aggregate node semantically equals the current node, or false if not.
|
boolean |
isHasFilter() |
AggregationMethodFactory |
validateAggregationChild(ExprValidationContext validationContext)
Gives the aggregation node a chance to validate the sub-expression types.
|
equalsNode, evaluate, getExprEvaluator, getFactory, getPrecedence, getType, isConstantResult, isDistinct, setAggregationResultFuture, toPrecedenceFreeEPL, validate, validateFilter
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public ExprCountNode(boolean distinct, boolean hasFilter)
distinct
- - flag indicating unique or non-unique value aggregationpublic AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validationContext
- validation informationExprValidationException
- when expression validation failedpublic boolean isHasFilter()
public final boolean equalsNodeAggregate(ExprAggregateNode node)
ExprAggregateNodeBase
For use by the equalsNode implementation which compares the distinct flag.
node
- to compare to