net.esper.pattern
Class EvalObserverNode
java.lang.Object
net.esper.pattern.EvalNode
net.esper.pattern.EvalObserverNode
public final class EvalObserverNode
- extends EvalNode
This class represents an observer expression in the evaluation tree representing an pattern expression.
EvalObserverNode
public EvalObserverNode(ObserverFactory observerFactory)
- Constructor.
- Parameters:
observerFactory
- is the factory to use for the observer instance
newState
public final EvalStateNode newState(Evaluator parentNode,
MatchedEventMap beginState,
PatternContext context)
- Description copied from class:
EvalNode
- Create the evaluation state node containing the truth value state for each operator in an
event expression.
- Specified by:
newState
in class EvalNode
- Parameters:
parentNode
- is the parent evaluator node that this node indicates a change in truth value tobeginState
- is the container for events that makes up the start statecontext
- is the handle to services required for evaluation
- Returns:
- state node containing the truth value state for the operator
toString
public final String toString()
- Overrides:
toString
in class Object