class documentation

class Notification: (source)

View In Hierarchy

A single change event in the Oxia database.

Method __str__ Undocumented
Method key The key of the record that was changed.
Method key_range_end For a KEY_RANGE_DELETED notification, the end (exclusive) of the deleted key range. ``None`` for other notification types.
Method notification_type The type of the modification.
Method version_id The current version ID of the record, or ``0`` for a delete event.
def __str__(self): (source)

Undocumented

def key(self) -> str: (source)

The key of the record that was changed.

def key_range_end(self) -> str: (source)

For a KEY_RANGE_DELETED notification, the end (exclusive) of the deleted key range. ``None`` for other notification types.

def notification_type(self) -> NotificationType: (source)

The type of the modification.

def version_id(self) -> int: (source)

The current version ID of the record, or ``0`` for a delete event.