Table of Contents

Interface ITableRowEvent<T>

Namespace
Apache.Ignite.Table
Assembly
Apache.Ignite.dll

Table row event.

public interface ITableRowEvent<out T>

Type Parameters

T

Event type.

Properties

Entry

Gets the resulting entry value. Null when Type is Removed.

T? Entry { get; }

Property Value

T

OldEntry

Gets the previous entry value. Null when Type is Created.

T? OldEntry { get; }

Property Value

T

Type

Gets the event type.

TableRowEventType Type { get; }

Property Value

TableRowEventType

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.