|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.core.ExprNodeBase
com.espertech.esper.epl.expression.baseagg.ExprAggregateNodeBase
com.espertech.esper.epl.expression.methodagg.ExprFirstEverNode
public class ExprFirstEverNode
Represents the "firstever" aggregate function is an expression tree.
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.expression.baseagg.ExprAggregateNodeBase |
---|
aggregationResultFuture, column, isDistinct, optionalAggregateLocalGroupByDesc, positionalParams |
Constructor Summary | |
---|---|
ExprFirstEverNode(boolean distinct)
Ctor. |
Method Summary | |
---|---|
boolean |
equalsNodeAggregateMethodOnly(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. |
boolean |
hasFilter()
|
AggregationMethodFactory |
validateAggregationChild(ExprValidationContext validationContext)
Gives the aggregation node a chance to validate the sub-expression types. |
Methods inherited from class com.espertech.esper.epl.expression.baseagg.ExprAggregateNodeBase |
---|
equalsNode, evaluate, getExprEvaluator, getFactory, getOptionalLocalGroupBy, getPositionalParams, getPrecedence, getType, isConstantResult, isDistinct, isExprTextWildcardWhenNoParams, makeExceptionExpectedParamNum, setAggregationResultFuture, toPrecedenceFreeEPL, validate, validateFilter, validateNumericChildAllowFilter, validatePositionals |
Methods inherited from class com.espertech.esper.epl.expression.core.ExprNodeBase |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.epl.expression.core.ExprNode |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL |
Constructor Detail |
---|
public ExprFirstEverNode(boolean distinct)
distinct
- - flag indicating unique or non-unique value aggregationMethod Detail |
---|
public AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validateAggregationChild
in class ExprAggregateNodeBase
validationContext
- validation information
ExprValidationException
- when expression validation failedpublic boolean hasFilter()
public java.lang.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 to
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |