ATLAS Offline Software
|
#include <StorageSvc/IDbDatabase.h>
Public Member Functions | |
virtual | ~IDbDatabase () |
virtual long long int | size () const =0 |
Access the size of the database: May be undefined for some technologies. More... | |
virtual DbStatus | setOption (const DbOption &refOpt)=0 |
Set options. More... | |
virtual DbStatus | getOption (DbOption &refOpt)=0 |
Access options. More... | |
virtual DbStatus | close (DbAccessMode mode)=0 |
Close database access. More... | |
virtual DbStatus | open (const DbDomain &domH, const std::string &nam, DbAccessMode mode)=0 |
Open Database object. More... | |
virtual DbStatus | onOpen (DbDatabase &dbH, DbAccessMode mode)=0 |
Callback after successful open of a database object. More... | |
virtual DbStatus | reopen (DbAccessMode mode)=0 |
Re-open database with changing access permissions. More... | |
virtual DbStatus | transAct (Transaction::Action action)=0 |
Execute Database Transaction action. More... | |
IDbDatabase interface
Description: Interface to the implementation specific part of a Database object
Definition at line 41 of file IDbDatabase.h.
|
inlinevirtual |
Definition at line 43 of file IDbDatabase.h.
|
pure virtual |
Close database access.
mode | [IN] Desired session access mode. |
Implemented in pool::RootDatabase.
Access options.
refOpt | [IN] Reference to option object. |
Implemented in pool::RootDatabase.
|
pure virtual |
Callback after successful open of a database object.
dbH | [IN] Handle to valid database object |
mode | [IN] Desired session access mode. |
Implemented in pool::RootDatabase.
|
pure virtual |
Open Database object.
domH | [IN] Handle to valid domain object (validity ensured by upper levels). |
nam | [IN] Name of the database to be opened. |
mode | [IN] Desired session access mode. |
Implemented in pool::RootDatabase.
|
pure virtual |
Re-open database with changing access permissions.
mode | [IN] Desired session access mode. |
Implemented in pool::RootDatabase.
Set options.
refOpt | [IN] Reference to option object. |
Implemented in pool::RootDatabase.
|
pure virtual |
Access the size of the database: May be undefined for some technologies.
Implemented in pool::RootDatabase.
|
pure virtual |
Execute Database Transaction action.
action | [IN] action to perform |
Implemented in pool::RootDatabase.