|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.ExprNodeBase
com.espertech.esper.epl.expression.ExprAggregateNodeBase
com.espertech.esper.epl.expression.ExprMinMaxAggrNode
public class ExprMinMaxAggrNode
Represents the min/max(distinct? ...) aggregate function is an expression tree.
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.expression.ExprAggregateNodeBase |
---|
aggregationResultFuture, column, isDistinct |
Constructor Summary | |
---|---|
ExprMinMaxAggrNode(boolean distinct,
MinMaxTypeEnum minMaxTypeEnum,
boolean hasFilter)
Ctor. |
Method Summary | |
---|---|
boolean |
equalsNodeAggregate(ExprAggregateNode node)
Return true if a expression aggregate node semantically equals the current node, or false if not. |
protected java.lang.String |
getAggregationFunctionName()
Returns the aggregation function name for representation in a generate expression string. |
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. |
Methods inherited from class com.espertech.esper.epl.expression.ExprAggregateNodeBase |
---|
equalsNode, evaluate, getExprEvaluator, getFactory, getPrecedence, getType, isConstantResult, isDistinct, setAggregationResultFuture, toPrecedenceFreeEPL, validate, validateFilter, validateNumericChildAllowFilter |
Methods inherited from class com.espertech.esper.epl.expression.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.ExprNode |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL |
Constructor Detail |
---|
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 computeMethod Detail |
---|
public AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validateAggregationChild
in class ExprAggregateNodeBase
validationContext
- validation information
ExprValidationException
- when expression validation failedpublic final boolean equalsNodeAggregate(ExprAggregateNode node)
ExprAggregateNodeBase
For use by the equalsNode implementation which compares the distinct flag.
equalsNodeAggregate
in class ExprAggregateNodeBase
node
- to compare to
public MinMaxTypeEnum getMinMaxTypeEnum()
public boolean isHasFilter()
protected java.lang.String getAggregationFunctionName()
ExprAggregateNodeBase
getAggregationFunctionName
in class ExprAggregateNodeBase
|
© 2006-2014 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 |