|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef RDBACCESSSVC_IRDBACCESSSVC_H
15 #define RDBACCESSSVC_IRDBACCESSSVC_H
17 #include "GaudiKernel/IInterface.h"
21 #include "CoralBase/AttributeList.h"
22 #include "CoralBase/Attribute.h"
60 const std::string&
tag,
61 const std::string& tag2node=
"",
62 const std::string& connName =
"ATLASDD") = 0;
71 const std::string& parentTag,
72 const std::string& parentNode,
73 const std::string& connName =
"ATLASDD") = 0;
88 virtual std::unique_ptr<IRDBQuery>
getQuery(
const std::string&
node,
89 const std::string&
tag,
90 const std::string& tag2node=
"",
91 const std::string& connName =
"ATLASDD") = 0;
98 const std::string&
tag,
99 const std::string& connName =
"ATLASDD") = 0;
106 virtual bool connect(
const std::string& connName =
"ATLASDD") = 0;
111 virtual bool disconnect(
const std::string& connName =
"ATLASDD") = 0;
115 virtual bool shutdown(
const std::string& connName =
"ATLASDD") = 0;
virtual bool disconnect(const std::string &connName="ATLASDD")=0
If the counnection counter==1 closes the connection.
virtual std::unique_ptr< IRDBQuery > getQuery(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
virtual IRDBRecordset_ptr getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
Provides access to the Recordset object containing HVS-tagged data.
Helper to manage database connections.
IRDBRecordset is an abstract interface to the RDB Recordsets, which represent a snapshot of HVS-tagge...
virtual bool connect(const std::string &connName="ATLASDD")=0
Connect to the relational DB.
virtual std::string getChildTag(const std::string &childNode, const std::string &parentTag, const std::string &parentNode, const std::string &connName="ATLASDD")=0
Gets the tag name for the node by giving its parent node tag.
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
coral::AttributeList RDBTagDetails
virtual void getTagDetails(RDBTagDetails &tagDetails, const std::string &tag, const std::string &connName="ATLASDD")=0
Returns AttributeList with tag details Attributes in the list: Locked (bool), Supported (bool)
virtual bool shutdown(const std::string &connName="ATLASDD")=0
Closes the connection regardless of the counter value.
DeclareInterfaceID(IRDBAccessSvc, 1, 0)
Declare interface ID.