|
||||||||||
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.ExprPlugInAggFunctionFactoryNode
public class ExprPlugInAggFunctionFactoryNode
Represents a custom aggregation function in an expresson tree.
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.expression.baseagg.ExprAggregateNodeBase |
---|
aggregationResultFuture, column, isDistinct, optionalAggregateLocalGroupByDesc, positionalParams |
Constructor Summary | |
---|---|
ExprPlugInAggFunctionFactoryNode(boolean distinct,
AggregationFunctionFactory aggregationFunctionFactory,
java.lang.String functionName)
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. |
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 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 nameMethod Detail |
---|
public AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validateAggregationChild
in class ExprAggregateNodeBase
validationContext
- validation information
ExprValidationException
- when expression validation failedpublic 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 |