com.espertech.esper.pattern
Class EvalAndNode

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

public class EvalAndNode
extends EvalNodeBase

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


Field Summary
protected  EvalNode[] childNodes
           
protected  EvalAndFactoryNode factoryNode
           
 
Constructor Summary
EvalAndNode(PatternAgentInstanceContext context, EvalAndFactoryNode factoryNode, EvalNode[] childNodes)
           
 
Method Summary
 EvalNode[] getChildNodes()
           
 EvalAndFactoryNode 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 EvalAndFactoryNode factoryNode

childNodes

protected final EvalNode[] childNodes
Constructor Detail

EvalAndNode

public EvalAndNode(PatternAgentInstanceContext context,
                   EvalAndFactoryNode factoryNode,
                   EvalNode[] childNodes)
Method Detail

getFactoryNode

public EvalAndFactoryNode 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