Description: Interface to the technology specific implementation of a Database object.
More...
#include <StorageSvc/ITechDatabase.h>
Description: Interface to the technology specific implementation of a Database object.
- Author
- M.Frank
Definition at line 24 of file ITechDatabase.h.
◆ ~ITechDatabase()
| virtual ITechDatabase::~ITechDatabase |
( |
| ) |
|
|
virtualdefault |
◆ close()
| virtual StatusCode ITechDatabase::close |
( |
Io::IoFlag | mode | ) |
|
|
pure virtual |
Close database access.
- Parameters
-
| mode | [IN] Desired session access mode. |
- Returns
- StatusCode code indicating success or failure.
Implemented in RootDatabase.
◆ getOption()
| virtual StatusCode ITechDatabase::getOption |
( |
DbOption & | refOpt | ) |
|
|
pure virtual |
Access options.
- Parameters
-
| refOpt | [IN] Reference to option object. |
- Returns
- StatusCode code indicating success or failure.
Implemented in RootDatabase.
◆ open()
| virtual StatusCode ITechDatabase::open |
( |
const DbDatabase & | dbH, |
|
|
const std::string & | nam, |
|
|
Io::IoFlag | mode ) |
|
pure virtual |
Open Database object.
- Parameters
-
| dbH | [IN] StorageSvc handle to the database being opened. |
| nam | [IN] Name of the database to be opened. |
| mode | [IN] Desired session access mode. |
- Returns
- StatusCode code indicating success or failure.
Implemented in RootDatabase.
◆ setOption()
| virtual StatusCode ITechDatabase::setOption |
( |
const DbOption & | refOpt | ) |
|
|
pure virtual |
Set options.
- Parameters
-
| refOpt | [IN] Reference to option object. |
- Returns
- StatusCode code indicating success or failure.
Implemented in RootDatabase.
◆ size()
| virtual long long int ITechDatabase::size |
( |
| ) |
const |
|
pure virtual |
Access the size of the database: May be undefined for some technologies.
Implemented in RootDatabase.
◆ transAct()
Execute Database Transaction action.
- Parameters
-
| action | [IN] action to perform |
- Returns
- Status code indicating success or failure.
Implemented in RootDatabase.
The documentation for this class was generated from the following file: