net.esper.pattern
Class EvalObserverNode

java.lang.Object
  extended by net.esper.pattern.EvalNode
      extended by net.esper.pattern.EvalObserverNode

public final class EvalObserverNode
extends EvalNode

This class represents an observer expression in the evaluation tree representing an pattern expression.


Constructor Summary
EvalObserverNode(ObserverFactory observerFactory)
          Constructor.
 
Method Summary
 EvalStateNode newState(Evaluator parentNode, MatchedEventMap beginState, PatternContext context)
          Create the evaluation state node containing the truth value state for each operator in an event expression.
 java.lang.String toString()
           
 
Methods inherited from class net.esper.pattern.EvalNode
addChildNode, dumpDebug, getChildNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EvalObserverNode

public EvalObserverNode(ObserverFactory observerFactory)
Constructor.

Parameters:
observerFactory - is the factory to use for the observer instance
Method Detail

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 to
beginState - is the container for events that makes up the start state
context - is the handle to services required for evaluation
Returns:
state node containing the truth value state for the operator

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object