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

#include <tom-tsdb/session.hpp>

Public Member Functions

void extended_functions (const char *cmd, const char *args)
 
void extended_functions (const char *cmd, const observation &args)
 
void extended_functions (const observation &cmd, const char *args)
 
virtual void extended_functions (const observation &cmd, const observation &args)
 
virtual connection_sptr get_connection ()=0
 
virtual connection_sptr get_connection (const connection_info &)=0
 
virtual const connection_meta_data_vec & get_connections_meta_data () const =0
 
virtual const providerget_provider () const =0
 
virtual const tom::Stringname () const =0
 

Detailed Description

sessions are the top level objects that control all interaction with a given repository. Repositories are logical groupings of data that use one persistence back-end. For example, you may have US Equity Data stored in a FAME database within a repository that contained US Market Data, and Compustat Data in an ORACLE server within a repository of US Fundamentals data.

Repositories are configured in the tom-environment.xml file. See the documentation for tsdb configuration for more details.

Member Function Documentation

◆ extended_functions() [1/4]

void tom::tsdb::session::extended_functions ( const char *  cmd,
const char *  args 
)
inline

many persistence backends may offer extended functions that can be called throught this session method. See back-end documentation for more information

◆ extended_functions() [2/4]

void tom::tsdb::session::extended_functions ( const char *  cmd,
const observation args 
)
inline

many persistence backends may offer extended functions that can be called throught this session method. See back-end documentation for more information

◆ extended_functions() [3/4]

void tom::tsdb::session::extended_functions ( const observation cmd,
const char *  args 
)
inline

many persistence backends may offer extended functions that can be called throught this session method. See back-end documentation for more information

◆ extended_functions() [4/4]

void tom::tsdb::session::extended_functions ( const observation cmd,
const observation args 
)
virtual

many persistence backends may offer extended functions that can be called throught this session method. See back-end documentation for more information

◆ get_connection() [1/2]

virtual connection_sptr tom::tsdb::session::get_connection ( )
pure virtual

get the default connection object for this session. This typically will be to local file-systems, or a local server

◆ get_connection() [2/2]

virtual connection_sptr tom::tsdb::session::get_connection ( const connection_info )
pure virtual

get a connection for a remote or local service as specified by the connection_info object

◆ get_connections_meta_data()

virtual const connection_meta_data_vec & tom::tsdb::session::get_connections_meta_data ( ) const
pure virtual

get a vector of connection meta data for connections defined for this repository

◆ get_provider()

virtual const provider & tom::tsdb::session::get_provider ( ) const
pure virtual

get the provider used to manage the persistence for this session, e.g., FAME, BDB, ORACLE, MySQL, etc...

◆ name()

virtual const tom::String & tom::tsdb::session::name ( ) const
pure virtual

get the name of the session


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