net.esper.pattern
Class EvalOrNode

java.lang.Object
  extended by net.esper.pattern.EvalNode
      extended by net.esper.pattern.EvalOrNode
All Implemented Interfaces:
MetaDefItem

public final class EvalOrNode
extends EvalNode

This class represents an 'or' operator in the evaluation tree representing any event expressions.


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

Constructor Detail

EvalOrNode

public EvalOrNode()
Method Detail

newState

public final EvalStateNode newState(Evaluator parentNode,
                                    MatchedEventMap beginState,
                                    PatternContext context,
                                    Object stateNodeId)
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
stateNodeId - is the new state object's identifier
Returns:
state node containing the truth value state for the operator

toString

public final String toString()
Overrides:
toString in class Object