public class ExprFirstEverNode extends ExprAggregateNodeBase
aggregationResultFuture, column, isDistinct, optionalAggregateLocalGroupByDesc, optionalFilter, positionalParams
Constructor and Description |
---|
ExprFirstEverNode(boolean distinct)
Ctor.
|
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.
|
boolean |
hasFilter() |
protected boolean |
isFilterExpressionAsLastParameter() |
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 ExprFirstEverNode(boolean distinct)
distinct
- - flag indicating unique or non-unique value aggregationpublic AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validateAggregationChild
in class ExprAggregateNodeBase
validationContext
- validation informationExprValidationException
- when expression validation failedpublic boolean hasFilter()
public String getAggregationFunctionName()
ExprAggregateNodeBase
getAggregationFunctionName
in class ExprAggregateNodeBase
public final boolean equalsNodeAggregateMethodOnly(ExprAggregateNode node)
ExprAggregateNodeBase
For use by the equalsNode implementation which compares the distinct flag.
equalsNodeAggregateMethodOnly
in class ExprAggregateNodeBase
node
- to compare toprotected boolean isFilterExpressionAsLastParameter()
isFilterExpressionAsLastParameter
in class ExprAggregateNodeBase