|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.pattern.EvalNode
public abstract class EvalNode
Superclass of all nodes in an evaluation tree representing an event pattern expression. Follows the Composite pattern. Child nodes do not carry references to parent nodes, the tree is unidirectional.
Method Summary | |
---|---|
void |
addChildNode(EvalNode childNode)
Adds a child node. |
void |
dumpDebug(String prefix)
Recursively print out all nodes. |
LinkedList<EvalNode> |
getChildNodes()
Returns list of child nodes. |
abstract EvalStateNode |
newState(Evaluator parentNode,
MatchedEventMap beginState,
PatternContext context)
Create the evaluation state node containing the truth value state for each operator in an event expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract EvalStateNode newState(Evaluator parentNode, MatchedEventMap beginState, PatternContext context)
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
public final void addChildNode(EvalNode childNode)
childNode
- is the child evaluation tree node to addpublic final LinkedList<EvalNode> getChildNodes()
public final void dumpDebug(String prefix)
prefix
- is printed out for naming the printed info
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |