SQLAlchemy models for Ceilometer data.
-
class ceilometer.storage.sqlalchemy.models.CeilometerBase[source]
Bases: object
Base class for Ceilometer Models.
-
update(values)[source]
Make the model object behave like a dict.
-
class ceilometer.storage.sqlalchemy.models.Event(message_id, event_type, generated, raw)[source]
Bases: sqlalchemy.ext.declarative.api.Base
-
class ceilometer.storage.sqlalchemy.models.EventType(event_type)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Types of event records.
-
class ceilometer.storage.sqlalchemy.models.FullSample[source]
Bases: object
A fake model for query samples.
-
class ceilometer.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 ceilometer.storage.sqlalchemy.models.MetaBigInt(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Metering integer metadata.
-
class ceilometer.storage.sqlalchemy.models.MetaBool(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Metering boolean metadata.
-
class ceilometer.storage.sqlalchemy.models.MetaFloat(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Metering float metadata.
-
class ceilometer.storage.sqlalchemy.models.MetaText(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Metering text metadata.
-
class ceilometer.storage.sqlalchemy.models.Meter(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Meter definition data.
-
class ceilometer.storage.sqlalchemy.models.PreciseTimestamp(*args, **kwargs)[source]
Bases: sqlalchemy.sql.type_api.TypeDecorator
Represents a timestamp precise to the microsecond.
-
impl
alias of DateTime
-
load_dialect_impl(dialect)[source]
-
static process_bind_param(value, dialect)[source]
-
static process_result_value(value, dialect)[source]
-
class ceilometer.storage.sqlalchemy.models.Resource(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Resource data.
-
class ceilometer.storage.sqlalchemy.models.Sample(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Metering data.
-
class ceilometer.storage.sqlalchemy.models.TraitDatetime(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Event datetime traits.
-
class ceilometer.storage.sqlalchemy.models.TraitFloat(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Event float traits.
-
class ceilometer.storage.sqlalchemy.models.TraitInt(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Event integer traits.
-
class ceilometer.storage.sqlalchemy.models.TraitText(**kwargs)[source]
Bases: sqlalchemy.ext.declarative.api.Base
Event text traits.