[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Classes
Class | Description | |
---|---|---|
![]() | EvalAndNode |
This class represents an 'and' operator in the evaluation tree representing an event expressions.
|
![]() | EvalAndStateNode |
This class represents the state of a "and" operator in the evaluation state tree.
|
![]() | EvalEveryNode |
This class represents an 'every' operator in the evaluation tree representing an event expression.
|
![]() | EvalEveryStateNode | Contains the state collected by an "every" operator. The state includes handles to any sub-listeners
Started by the operator.
|
![]() | EvalFilterNode | This class represents a filter of events in the evaluation tree representing any event expressions. |
![]() | EvalFilterStateNode |
This class contains the state of a single filter expression in the evaluation state tree.
|
![]() | EvalFollowedByNode |
This class represents a followed-by operator in the evaluation tree representing any event expressions.
|
![]() | EvalFollowedByStateNode |
This class represents the state of a followed-by operator in the evaluation state tree.
|
![]() | EvalGuardNode | This class represents a guard in the evaluation tree representing an event expressions. |
![]() | EvalGuardStateNode |
This class represents the state of a "within" operator in the evaluation state tree.
The within operator applies to a subexpression and is thus expected to only
have one child node.
|
![]() | 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.
|
![]() | EvalNotNode |
This class represents an 'not' operator in the evaluation tree representing any event expressions.
|
![]() | EvalNotStateNode | This class contains the state of an 'not' operator in the evaluation state tree.
The not operator inverts the truth of the subexpression under it. It defaults to being true rather than
being false at Startup. True at Startup means it will generate an event on newState such that parent expressions
may turn true. It turns permenantly false when it receives an event from a subexpression and the subexpression
quitted. It indicates the false state via an evaluateFalse call on its parent evaluator.
|
![]() | EvalObserverNode | This class represents an observer expression in the evaluation tree representing an pattern expression. |
![]() | EvalObserverStateNode | This class represents the state of an eventObserver sub-expression in the evaluation state tree. |
![]() | EvalOrNode |
This class represents an 'or' operator in the evaluation tree representing any event expressions.
|
![]() | EvalOrStateNode |
This class represents the state of a "or" operator in the evaluation state tree.
|
![]() | EvalRootNode |
This class is always the root node in the evaluation tree representing an event expression.
It hold the handle to the EPStatement implementation for notifying when matches are found.
|
![]() | EvalRootStateNode | This class is always the root node in the evaluation state tree representing any activated event expression.
It hold the handle to a further state node with subnodes making up a whole evaluation state tree.
|
![]() | 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.
|
![]() | EvalStateNodePrinterVisitor |
Visitor class for printing out an evaluation state tree where each node is printed indented according
to its depth in the tree.
|
![]() | MatchedEventMap | Collection for internal use similar to the MatchedEventMap class in the client package
that holds the one or more events that could match any defined event expressions.
The optional tag value supplied when an event expression is created is used as a key for placing
matching event objects into this collection.
|
![]() | PatternContext |
Contains handles to implementations of services needed by
evaluation nodes.
|
![]() | PatternMatchCallbackImpl |
An implementation of the PatternMatchCallback that proxies the
interface through a delegate. IMO, this is a lot of extra baggage
that is cleanly handled thorugh the delegate interface, but will
remain intact until we can review the interaction points and
convert them to delegates.
|
Interfaces
Interface | Description | |
---|---|---|
![]() | EvalStateNodeVisitor | Interface for visiting each element in the evaluation node tree for an event expression (see Visitor pattern). |
![]() | Evaluator | Interface for nodes in an expression evaluation state tree that are being informed by a child that the
event expression fragments (subtrees) which the child represents has turned true (evaluateTrue method)
or false (evaluateFalse).
|
![]() | PatternMatchCallback |
Callback interface for anything that requires to be informed of matching events which would be stored
in the MatchedEventMap structure passed to the implementation.
|
![]() | PatternStarter | Interface for observing when an event expression needs to Start (by adding the first listener).
The publishing event expression supplies the callback used for indicating matches. The implementation supplies
as a return value the callback to use to Stop the event expression.
|
Delegates
Delegate | Description | |
---|---|---|
![]() | PatternMatcherDelegate |
A delegate that mimics the behavior of the PatternMatchCallback.
At some time in the future, this delegate should replace the
PatternMatchCallback interface.
|
![]() | PatternStopCallback |
Interface for executing a Stop on an active event expression.
|