|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.pattern.EvalStateNode
public abstract class EvalStateNode
Superclass of all state nodes in an evaluation node tree representing an event expressions. Follows the Composite pattern. Subclasses are expected to keep their own collection containing child nodes as needed.
Constructor Summary | |
---|---|
EvalStateNode(Evaluator parentNode)
Constructor. |
Method Summary | |
---|---|
abstract java.lang.Object |
accept(EvalStateNodeVisitor visitor,
java.lang.Object data)
Accept a visitor. |
abstract java.lang.Object |
childrenAccept(EvalStateNodeVisitor visitor,
java.lang.Object data)
Pass the visitor to all child nodes. |
abstract EvalNode |
getFactoryNode()
Returns the factory node for the state node. |
Evaluator |
getParentEvaluator()
Returns the parent evaluator. |
abstract boolean |
isFilterStateNode()
|
abstract boolean |
isNotOperator()
|
abstract void |
quit()
Stops the event expression or an instance of it. |
void |
setParentEvaluator(Evaluator parentEvaluator)
Sets the parent evaluator. |
abstract void |
start(MatchedEventMap beginState)
Starts the event expression or an instance of it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EvalStateNode(Evaluator parentNode)
parentNode
- is the evaluator for this node on which to indicate a change in truth valueMethod Detail |
---|
public abstract void start(MatchedEventMap beginState)
beginState
- public abstract void quit()
public abstract java.lang.Object accept(EvalStateNodeVisitor visitor, java.lang.Object data)
visitor
- on which the visit method is invoked by each nodedata
- any additional data the visitor may need is passed in this parameter
public abstract java.lang.Object childrenAccept(EvalStateNodeVisitor visitor, java.lang.Object data)
visitor
- is the instance to be passed to all child nodesdata
- any additional data the visitor may need is passed in this parameter
public abstract EvalNode getFactoryNode()
public abstract boolean isNotOperator()
public abstract boolean isFilterStateNode()
public final Evaluator getParentEvaluator()
public final void setParentEvaluator(Evaluator parentEvaluator)
parentEvaluator
- for this node
|
© 2006-2011 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |