|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.expression.ExprNode
net.esper.eql.expression.ExprMinMaxNode
public class ExprMinMaxNode
Represents the MAX(a,b) and MIN(a,b) functions is an expression tree.
Constructor Summary | |
---|---|
ExprMinMaxNode(MinMaxTypeEnum minMaxTypeEnum)
Ctor. |
Method Summary | |
---|---|
java.lang.Object |
evaluate(EventBean[] eventsPerStream)
Evaluate event tuple and return result. |
java.lang.Class |
getType()
Returns the type that the node's evaluate method returns an instance of. |
java.lang.String |
toExpressionString()
Returns the expression node rendered as a string. |
void |
validate(StreamTypeService streamTypeService)
Validate node. |
Methods inherited from class net.esper.eql.expression.ExprNode |
---|
addChildNode, dumpDebug, getChildNodes, validateDescendents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprMinMaxNode(MinMaxTypeEnum minMaxTypeEnum)
minMaxTypeEnum
- - type of compareMethod Detail |
---|
public void validate(StreamTypeService streamTypeService) throws ExprValidationException
ExprValidator
streamTypeService
- serves stream event type info
ExprValidationException
- thrown when validation failedpublic java.lang.Class getType() throws ExprValidationException
ExprValidator
ExprValidationException
- thrown when validation failedpublic java.lang.Object evaluate(EventBean[] eventsPerStream)
ExprEvaluator
eventsPerStream
- - event tuple
public java.lang.String toExpressionString()
ExprNode
toExpressionString
in class ExprNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |