The ceilometer.storage.mongo.utils Module

Common functions for MongoDB backend

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(conf, url)[source]
class ceilometer.storage.mongo.utils.CursorProxy(conf, cursor)[source]

Bases: pymongo.cursor.Cursor

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

Bases: object

class ceilometer.storage.mongo.utils.MongoProxy(conf, 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]

Project Source

This Page