ApdbUpdateRecord#
- class lsst.dax.apdb.ApdbUpdateRecord(*, update_time_ns: int, update_order: int)#
Bases:
ABCAbstract base class representing all types of update records saved to replica table.
Attributes Summary
Class variable defining APDB table that this update applies to, must be defined in all concrete subclasses.
Record order in the update.
Time in nanoseconds since epoch when update happened.
Class variable defining type of the update, must be defined in all concrete subclasses and be unique.
Methods Summary
Attributes Documentation
- apdb_table: ClassVar[ApdbTables] = <dataclasses._MISSING_TYPE object>#
Class variable defining APDB table that this update applies to, must be defined in all concrete subclasses.
- update_order: int = <dataclasses._MISSING_TYPE object>#
Record order in the update.
- update_time_ns: int = <dataclasses._MISSING_TYPE object>#
Time in nanoseconds since epoch when update happened.
- update_type: ClassVar[str] = <dataclasses._MISSING_TYPE object>#
Class variable defining type of the update, must be defined in all concrete subclasses and be unique.
Methods Documentation
- classmethod from_json(update_time_ns: int, update_order: int, json_str: str) ApdbUpdateRecord#
- to_json() str#