|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.filter.ExprNodeAdapter
public class ExprNodeAdapter
Adapter for use by FilterParamIndexBooleanExpr
to evaluate boolean expressions, providing
events per stream to expression nodes. Generated by @{link FilterSpecParamExprNode} for
boolean expression filter parameters.
Constructor Summary | |
---|---|
ExprNodeAdapter(ExprNode exprNode,
EventBean[] prototype,
VariableService variableService)
Ctor. |
Method Summary | |
---|---|
boolean |
evaluate(EventBean event)
Evaluate the boolean expression given the event as a stream zero event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprNodeAdapter(ExprNode exprNode, EventBean[] prototype, VariableService variableService)
exprNode
- is the boolean expressionprototype
- is the row of events the we are matching onvariableService
- for setting variable version for evaluating variables, if requiredMethod Detail |
---|
public boolean evaluate(EventBean event)
event
- is the stream zero event (current event)
|
© 2007 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 |