SQLAlchemy models for aodh data.
-
class aodh.storage.sqlalchemy.models.Alarm(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Define Alarm data.
-
class aodh.storage.sqlalchemy.models.AlarmChange(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Define AlarmChange data.
-
class aodh.storage.sqlalchemy.models.AodhBase[source]
Bases: object
Base class for Aodh Models.
-
update(values)[source]
Make the model object behave like a dict.
-
class aodh.storage.sqlalchemy.models.JSONEncodedDict(*args, **kwargs)[source]
Bases: sqlalchemy.sql.type_api.TypeDecorator
Represents an immutable structure as a json-encoded string.
-
impl
alias of Text
-
static process_bind_param(value, dialect)[source]
-
static process_result_value(value, dialect)[source]
-
class aodh.storage.sqlalchemy.models.PreciseTimestamp(*args, **kwargs)[source]
Bases: sqlalchemy.sql.type_api.TypeDecorator
Represents a timestamp precise to the microsecond.
-
compare_against_backend(dialect, conn_type)[source]
-
impl
alias of DateTime
-
load_dialect_impl(dialect)[source]
-
static process_bind_param(value, dialect)[source]
-
static process_result_value(value, dialect)[source]