|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.pattern.EvalNode
net.esper.pattern.EvalObserverNode
public final class EvalObserverNode
This class represents an observer expression in the evaluation tree representing an pattern expression.
Constructor Summary | |
---|---|
EvalObserverNode(PatternObserverSpec patternObserverSpec)
Constructor. |
Method Summary | |
---|---|
ObserverFactory |
getObserverFactory()
Returns the observer factory. |
PatternObserverSpec |
getPatternObserverSpec()
Returns the observer object specification to use for instantiating the observer factory and observer. |
EvalStateNode |
newState(Evaluator parentNode,
MatchedEventMap beginState,
PatternContext context,
Object stateNodeId)
Create the evaluation state node containing the truth value state for each operator in an event expression. |
void |
setObserverFactory(ObserverFactory observerFactory)
Supplies the observer factory to the node. |
String |
toString()
|
Methods inherited from class net.esper.pattern.EvalNode |
---|
addChildNode, dumpDebug, getChildNodes, getNodeNumber, recursiveAnalyzeChildNodes, setNodeNumber |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EvalObserverNode(PatternObserverSpec patternObserverSpec)
patternObserverSpec
- is the factory to use to get an observer instanceMethod Detail |
---|
public PatternObserverSpec getPatternObserverSpec()
public void setObserverFactory(ObserverFactory observerFactory)
observerFactory
- is the observer factorypublic ObserverFactory getObserverFactory()
public final EvalStateNode newState(Evaluator parentNode, MatchedEventMap beginState, PatternContext context, Object stateNodeId)
EvalNode
newState
in class EvalNode
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 evaluationstateNodeId
- is the new state object's identifier
public final String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |