public class ExprMinMaxAggrNode extends ExprAggregateNodeBase
aggregationResultFuture, column, isDistinct, optionalAggregateLocalGroupByDesc, optionalFilter, positionalParams
Constructor and Description |
---|
ExprMinMaxAggrNode(boolean distinct,
MinMaxTypeEnum minMaxTypeEnum,
boolean isFFunc,
boolean isEver) |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsNodeAggregateMethodOnly(ExprAggregateNode node)
Return true if a expression aggregate node semantically equals the current node, or false if not.
|
String |
getAggregationFunctionName()
Returns the aggregation function name for representation in a generate expression string.
|
MinMaxTypeEnum |
getMinMaxTypeEnum()
Returns the indicator for minimum or maximum.
|
boolean |
isEver() |
protected boolean |
isFilterExpressionAsLastParameter() |
boolean |
isHasFilter() |
AggregationMethodFactory |
validateAggregationChild(ExprValidationContext validationContext)
Gives the aggregation node a chance to validate the sub-expression types.
|
equalsNode, evaluate, evaluateCodegen, getComplexity, getEvaluationType, getExprEvaluator, getFactory, getForge, getForgeRenderable, getOptionalFilter, getOptionalLocalGroupBy, getPositionalParams, getPrecedence, isConstantResult, isDistinct, isExprTextWildcardWhenNoParams, makeExceptionExpectedParamNum, setAggregationResultFuture, toPrecedenceFreeEPL, validate, validateFilter, validateNumericChildAllowFilter, validatePositionals
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
clone, equals, finalize, 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 isFFunc, boolean isEver)
public AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validateAggregationChild
in class ExprAggregateNodeBase
validationContext
- validation informationExprValidationException
- when expression validation failedpublic 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 MinMaxTypeEnum getMinMaxTypeEnum()
public boolean isHasFilter()
public String getAggregationFunctionName()
ExprAggregateNodeBase
getAggregationFunctionName
in class ExprAggregateNodeBase
public boolean isEver()
protected boolean isFilterExpressionAsLastParameter()
isFilterExpressionAsLastParameter
in class ExprAggregateNodeBase