|
ClockWork DB CoreAPI 1.0.48
Abstract Time Series and Storage/Management Library
|
#include <tom-tsdb/connection.hpp>
Public Member Functions | |
| void | delete_datastore (const char *name) |
| virtual void | delete_datastore (const observation &name)=0 |
| tom::tsdb::datastore_sptr | get_datastore (const char *name, const access_mode &mode) |
| virtual tom::tsdb::datastore_sptr | get_datastore (const observation &name, const access_mode &mode)=0 |
| virtual const datastore_meta_data_vec & | get_datastores_meta_data () const =0 |
| const lock_metrics & | get_lock_metrics () |
| virtual tom::tsdb::session & | get_session ()=0 |
Protected Member Functions | |
| virtual void | populate_lock_metrics (lock_metrics &lock_mets)=0 |
connection objects control all access to time-series datastores. The normal create/access/delete and information methods as well
| void tom::tsdb::connection::delete_datastore | ( | const char * | name | ) |
delete a datastore with the path specified by name
|
pure virtual |
delete a datastore with the path specified by name
| tom::tsdb::datastore_sptr tom::tsdb::connection::get_datastore | ( | const char * | name, |
| const access_mode & | mode | ||
| ) |
get a datastore with the path specified by name, using the appropriate access_mode. This can create datastores as well via the access_mode::create() mode.
|
pure virtual |
get a datastore with the path specified by name, using the appropriate access_mode. This can create datastores as well via the access_mode::create() mode.
|
pure virtual |
get a vector of datastore_meta_data for all datastores available for the given connection object
|
pure virtual |
get the connection's parent session object.