The ceilometer.storage.mongo.utils Module

Common functions for MongoDB and DB2 backends

class ceilometer.storage.mongo.utils.Aggregation(name, aggregation_fields)[source]

Bases: object

finalize(data, param=None, version_array=None)[source]
group(param=None, version_array=None)[source]
project(param=None, version_array=None)[source]
validate(param=None, version_array=None)[source]
class ceilometer.storage.mongo.utils.AggregationFields(version, group, project, finalize=None, parametrized=False, validate=None)[source]

Bases: object

finalize(name, data, param=None)[source]
class ceilometer.storage.mongo.utils.ConnectionPool[source]

Bases: object

connect(url)[source]
class ceilometer.storage.mongo.utils.CursorProxy(cursor)[source]

Bases: pymongo.cursor.Cursor

next(*args, **kwargs)[source]
class ceilometer.storage.mongo.utils.MongoConn(method)[source]

Bases: object

class ceilometer.storage.mongo.utils.MongoProxy(conn)[source]

Bases: object

create_index(keys, name=None, *args, **kwargs)[source]
find(*args, **kwargs)[source]
class ceilometer.storage.mongo.utils.QueryTransformer[source]

Bases: object

transform_filter(condition)[source]
transform_orderby(orderby)[source]

Previous topic

The ceilometer.storage.models Module

Next topic

The ceilometer.storage.pymongo_base Module

Project Source

This Page