net.esper.pattern
Class EvalGuardNode
java.lang.Object
net.esper.pattern.EvalNode
net.esper.pattern.EvalGuardNode
public final class EvalGuardNode
- extends EvalNode
This class represents a guard in the evaluation tree representing an event expressions.
EvalGuardNode
public EvalGuardNode(GuardFactory guardFactory)
- Constructor.
- Parameters:
guardFactory
- - factory for guard node
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 tobeginState
- is the container for events that makes up the start statecontext
- is the handle to services required for evaluation
- Returns:
- state node containing the truth value state for the operator
toString
public final String toString()
- Overrides:
toString
in class Object