|
||||||||||
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)
Ctor. |
Method Summary | |
---|---|
boolean |
evaluate(EventBean event)
Evaluate the boolean expression given the event as a stream zero event. |
void |
setPrototype(EventBean[] prototype)
Provides the prototype events-per-stream where stream zero is the current stream and is filled when the expression is evaluated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprNodeAdapter(ExprNode exprNode)
exprNode
- is the boolean expressionMethod Detail |
---|
public void setPrototype(EventBean[] prototype)
prototype
- is the row of events for which stream zero is missing as the current event is filled in laterpublic boolean evaluate(EventBean event)
event
- is the stream zero event (current event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |