Package org.apache.ignite.table
Interface TableRowEvent<T>
- Type Parameters:
T
- Event type.
public interface TableRowEvent<T>
Table row event.
-
Method Details
-
type
TableRowEventType type()Gets the event type.- Returns:
- Event type.
-
entry
Gets the resulting entry value. Null if the event type isTableRowEventType.REMOVED
.- Returns:
- Resulting entry value.
-
oldEntry
Gets the previous entry value. Null if the event type isTableRowEventType.CREATED
.- Returns:
- Previous entry value.
-
watermark
ContinuousQueryWatermark watermark()Gets the event watermark for resume and failover purposes. Pass the value toContinuousQueryOptions.watermark()
in order to resume the query from the current event (exclusive). This provides uninterrupted stream of events with exactly-once semantics in case of application restarts, failover on another node, etc.NOTE: for performance reasons, this property can't be accessed outside of
Flow.Subscriber.onNext(T)
method.- Returns:
- Event watermark.
-