com.espertech.esper.pattern
Class EvalGuardNode

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

public class EvalGuardNode
extends EvalNodeBase

This class represents a guard in the evaluation tree representing an event expressions.


Field Summary
protected  EvalGuardFactoryNode factoryNode
           
 
Constructor Summary
EvalGuardNode(PatternAgentInstanceContext context, EvalGuardFactoryNode factoryNode, EvalNode childNode)
           
 
Method Summary
 EvalNode getChildNode()
           
 EvalGuardFactoryNode 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 EvalGuardFactoryNode factoryNode
Constructor Detail

EvalGuardNode

public EvalGuardNode(PatternAgentInstanceContext context,
                     EvalGuardFactoryNode factoryNode,
                     EvalNode childNode)
Method Detail

getFactoryNode

public EvalGuardFactoryNode getFactoryNode()

getChildNode

public EvalNode getChildNode()

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