public class ExprMinMaxAggrNode extends ExprAggregateNodeBase
Constructor and Description |
---|
ExprMinMaxAggrNode(boolean distinct,
MinMaxTypeEnum minMaxTypeEnum,
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.
|
MinMaxTypeEnum |
getMinMaxTypeEnum()
Returns the indicator for minimum or maximum.
|
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 ExprMinMaxAggrNode(boolean distinct, MinMaxTypeEnum minMaxTypeEnum, boolean hasFilter)
distinct
- - indicator whether distinct values of all values min/maxminMaxTypeEnum
- - enum for whether to minimum or maximum computepublic AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validationContext
- validation informationExprValidationException
- when expression validation failedpublic final boolean equalsNodeAggregate(ExprAggregateNode node)
ExprAggregateNodeBase
For use by the equalsNode implementation which compares the distinct flag.
node
- to compare topublic MinMaxTypeEnum getMinMaxTypeEnum()
public boolean isHasFilter()