|
||||||||||
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 void |
accept(EvalStateNodeVisitor visitor)
Accept a visitor. |
abstract EvalNode |
getFactoryNode()
Returns the factory node for the state node. |
Evaluator |
getParentEvaluator()
Returns the parent evaluator. |
abstract boolean |
isFilterStateNode()
|
abstract boolean |
isNotOperator()
|
abstract boolean |
isObserverStateNodeNonRestarting()
|
abstract void |
quit()
Stops the event expression or an instance of it. |
abstract void |
removeMatch(java.util.Set<EventBean> matchEvent)
Remove matches that overlap with the provided events. |
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 void accept(EvalStateNodeVisitor visitor)
visitor
- on which the visit method is invoked by each nodepublic abstract EvalNode getFactoryNode()
public abstract boolean isNotOperator()
public abstract boolean isFilterStateNode()
public abstract boolean isObserverStateNodeNonRestarting()
public abstract void removeMatch(java.util.Set<EventBean> matchEvent)
matchEvent
- set of events to check forpublic final Evaluator getParentEvaluator()
public final void setParentEvaluator(Evaluator parentEvaluator)
parentEvaluator
- for this node
|
© 2006-2015 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 |