public class ExprPlugInAggFunctionFactoryNode extends ExprAggregateNodeBase
Constructor and Description |
---|
ExprPlugInAggFunctionFactoryNode(boolean distinct,
AggregationFunctionFactory aggregationFunctionFactory,
java.lang.String functionName)
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.
|
java.lang.String |
getAggregationFunctionName()
Returns the aggregation function name for representation in a generate expression string.
|
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 ExprPlugInAggFunctionFactoryNode(boolean distinct, AggregationFunctionFactory aggregationFunctionFactory, java.lang.String functionName)
distinct
- - flag indicating unique or non-unique value aggregationaggregationFunctionFactory
- - is the base class for plug-in aggregation functionsfunctionName
- is the aggregation function namepublic AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validationContext
- validation informationExprValidationException
- when expression validation failedpublic java.lang.String getAggregationFunctionName()
ExprAggregateNodeBase
public final boolean equalsNodeAggregate(ExprAggregateNode node)
ExprAggregateNodeBase
For use by the equalsNode implementation which compares the distinct flag.
node
- to compare to