14#ifndef RDBACCESSSVC_IRDBACCESSSVC_H
15#define RDBACCESSSVC_IRDBACCESSSVC_H
17#include "GaudiKernel/IInterface.h"
20#include "CoralBase/AttributeList.h"
21#include "CoralBase/Attribute.h"
64 std::string_view tag2node=
"",
65 std::string_view connName =
"ATLASDD") = 0;
74 const std::string& parentTag,
75 const std::string& parentNode,
76 const std::string& connName =
"ATLASDD") = 0;
91 virtual std::unique_ptr<IRDBQuery>
getQuery(
const std::string&
node,
92 const std::string& tag,
93 const std::string& tag2node=
"",
94 const std::string& connName =
"ATLASDD") = 0;
101 const std::string& tag,
102 const std::string& connName =
"ATLASDD") = 0;
109 virtual bool connect(std::string_view connName =
"ATLASDD") = 0;
114 virtual bool disconnect(std::string_view connName =
"ATLASDD") = 0;
118 virtual bool shutdown(std::string_view connName =
"ATLASDD") = 0;
coral::AttributeList RDBTagDetails
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
virtual bool connect(std::string_view 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.
virtual bool shutdown(std::string_view connName="ATLASDD")=0
Closes the connection regardless of the counter value.
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).
friend class SourceCompAlg
virtual IRDBRecordset_ptr getRecordsetPtr(std::string_view node, std::string_view tag, std::string_view tag2node="", std::string_view connName="ATLASDD")=0
Provides access to the Recordset object containing HVS-tagged data.
virtual bool disconnect(std::string_view connName="ATLASDD")=0
If the counnection counter==1 closes the connection.
DeclareInterfaceID(IRDBAccessSvc, 1, 0)
Declare interface ID.
virtual std::unique_ptr< IRDBQuery > getQuery(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
friend class TrigRDBManager
IRDBRecordset is an abstract interface to the RDB Recordsets, which represent a snapshot of HVS-tagge...