com.espertech.esper.pattern
Class EvalOrNode

java.lang.Object
  extended by com.espertech.esper.pattern.EvalNodeBase
      extended by com.espertech.esper.pattern.EvalOrNode
All Implemented Interfaces:
EvalNode

public class EvalOrNode
extends EvalNodeBase

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


Field Summary
protected  EvalOrFactoryNode factoryNode
           
 
Constructor Summary
EvalOrNode(PatternAgentInstanceContext context, EvalOrFactoryNode factoryNode, EvalNode[] childNodes)
           
 
Method Summary
 EvalNode[] getChildNodes()
           
 EvalOrFactoryNode getFactoryNode()
           
 EvalStateNode newState(Evaluator parentNode, EvalStateNodeNumber stateNodeNumber, long stateNodeId)
          Create the evaluation state node containing the truth value state for each operator in an event expression.
 
Methods inherited from class com.espertech.esper.pattern.EvalNodeBase
getContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factoryNode

protected final EvalOrFactoryNode factoryNode
Constructor Detail

EvalOrNode

public EvalOrNode(PatternAgentInstanceContext context,
                  EvalOrFactoryNode factoryNode,
                  EvalNode[] childNodes)
Method Detail

getFactoryNode

public EvalOrFactoryNode getFactoryNode()

getChildNodes

public EvalNode[] getChildNodes()

newState

public EvalStateNode newState(Evaluator parentNode,
                              EvalStateNodeNumber stateNodeNumber,
                              long stateNodeId)
Description copied from class: EvalNodeBase
Create the evaluation state node containing the truth value state for each operator in an event expression.

Specified by:
newState in interface EvalNode
Specified by:
newState in class EvalNodeBase
Parameters:
parentNode - is the parent evaluator node that this node indicates a change in truth value to
Returns:
state node containing the truth value state for the operator

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com