 | VirtualDataWindowUpdate Method |
This method is invoked when events are inserted-into or removed-from the virtual data window.
When a statement uses insert-into to insert events into the virtual data window the newData
parameter carries the inserted event.
When a statement uses on-delete to delete events from the virtual data window the oldData
parameter carries the deleted event.
When a statement uses on-merge to merge events with the virtual data window the events passed
depends on the action: For then-delete the oldData carries the removed event, for then-Update
the newData carries the after-Update event and the oldData carries the before-Update event,
for then-insert the newData carries the inserted event.
When a statement uses on-Update to Update events in the virtual data window the newData carries
the after-Update event and the oldData parameter carries the before-Update event.
Implement as follows to post all inserted or removed events to consuming statements:
context.OutputStream.Update(newData, oldData);
For data originating from the virtual data window use the SendEvent() method with "insert-into"
statement to insert events.
Namespace:
com.espertech.esper.common.client.hook.vdw
Assembly:
NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
See Also