ClockWork DB CoreAPI 1.0.48
Abstract Time Series and Storage/Management Library
Loading...
Searching...
No Matches
tom::tsdb::connection Class Referenceabstract

#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_metricsget_lock_metrics ()
 
virtual tom::tsdb::sessionget_session ()=0
 

Protected Member Functions

virtual void populate_lock_metrics (lock_metrics &lock_mets)=0
 

Detailed Description

connection objects control all access to time-series datastores. The normal create/access/delete and information methods as well

Member Function Documentation

◆ delete_datastore() [1/2]

void tom::tsdb::connection::delete_datastore ( const char *  name)

delete a datastore with the path specified by name

◆ delete_datastore() [2/2]

virtual void tom::tsdb::connection::delete_datastore ( const observation name)
pure virtual

delete a datastore with the path specified by name

◆ get_datastore() [1/2]

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.

◆ get_datastore() [2/2]

virtual tom::tsdb::datastore_sptr tom::tsdb::connection::get_datastore ( const observation name,
const access_mode 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.

◆ get_datastores_meta_data()

virtual const datastore_meta_data_vec & tom::tsdb::connection::get_datastores_meta_data ( ) const
pure virtual

get a vector of datastore_meta_data for all datastores available for the given connection object

◆ get_session()

virtual tom::tsdb::session & tom::tsdb::connection::get_session ( )
pure virtual

get the connection's parent session object.


The documentation for this class was generated from the following files: