class documentation

class Notification: (source)

View In Hierarchy

Notification represents one change in the Oxia database.

Method __str__ Undocumented
Method key The Key of the record to which the notification is referring
Method key_range_end In case of a KeyRangeRangeDeleted notification, this would represent the end (excluded) of the range of keys
Method notification_type The type of the modification
Method version_id The current VersionId of the record, or -1 for a KeyDeleted event
def __str__(self): (source)

Undocumented

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

The Key of the record to which the notification is referring

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

In case of a KeyRangeRangeDeleted notification, this would represent the end (excluded) of the range of keys

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

The type of the modification

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

The current VersionId of the record, or -1 for a KeyDeleted event