Interface ITableRowEvent<T>
Table row event.
public interface ITableRowEvent<out T>
Type Parameters
T
Event type.
Properties
Entry
T? Entry { get; }
Property Value
- T
OldEntry
T? OldEntry { get; }
Property Value
- T
Type
Gets the event type.
TableRowEventType Type { get; }
Property Value
Methods
GetWatermark()
Gets the event watermark for resume and failover purposes.
NOTE: For performance reasons (to avoid allocating a watermark instance for every event), this method can only be called within current continuous query iteration. Pass the value to Watermark in order to resume the query from the current event (exclusive). This provides an uninterrupted stream of events with exactly-once semantics in case of application restarts, failover on another node, etc.ContinuousQueryEventWatermark GetWatermark()
Returns
- ContinuousQueryEventWatermark
Watermark for this event.
Exceptions
- InvalidOperationException
When called outside of the current continuous query iteration.