|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CORACOOL_CORACOOLDATABASE_H
6 #define CORACOOL_CORACOOLDATABASE_H
12 #include "RelationalAccess/IConnectionService.h"
13 #include "CoralBase/MessageStream.h"
14 #include "CoolKernel/IDatabase.h"
15 #include "CoolKernel/IRecordSpecification.h"
16 #include "CoralBase/AttributeListSpecification.h"
29 coral::IConnectionService& coralsvc,
const bool readonly=
false);
39 const std::string&
dbname()
const;
49 const std::string& coraltable,
50 const cool::IRecordSpecification& fkspec,
51 const cool::IRecordSpecification& payloadspec,
52 const std::string& coralfk,
53 const std::string& coralpk,
56 const bool createParents=
false);
72 std::string& tablename,
73 std::string& keycolcool,
74 std::string& fkeycolcoral,
75 std::string& pkeycolcoral);
85 bool storeSpec(
const std::string& tablename,
const std::string&
spec);
102 #endif // CORACOOL_CORACOOLDATABASE_H
coral::ISessionProxy * m_proxy
coral::MessageStream m_log
cool::IDatabasePtr coolDatabase() const
const std::string & dbname() const
bool existsFolder(const std::string &coolfolder)
bool storeSpec(const std::string &tablename, const std::string &spec)
boost::shared_ptr< CoraCoolFolder > CoraCoolFolderPtr
bool parseFolderDescription(const std::string &folderdesc, std::string &tablename, std::string &keycolcool, std::string &fkeycolcoral, std::string &pkeycolcoral)
std::string encodeAttrSpec(const cool::IRecordSpecification &spec)
cool::IDatabasePtr m_cooldb
CoraCoolFolderPtr createFolder(const std::string &coolpath, const std::string &coraltable, const cool::IRecordSpecification &fkspec, const cool::IRecordSpecification &payloadspec, const std::string &coralfk, const std::string &coralpk, const std::string &description="", const cool::FolderVersioning::Mode mode=cool::FolderVersioning::SINGLE_VERSION, const bool createParents=false)
bool extractCoralConStr(std::string_view coolstr)
CoraCoolDatabase(const std::string &m_dbconn, cool::IDatabasePtr cooldb, coral::IConnectionService &coralsvc, const bool readonly=false)
coral::IConnectionService & m_coralsvc
bool deleteFolder(const std::string &coolfolder)
std::string description
glabal timer - how long have I taken so far?
CoraCoolFolderPtr getFolder(const std::string &coolfolder)