#include <DatabaseUtility.h>
Public Member Functions | |
DatabaseUtility () | |
DatabaseUtility (Handle< DatabaseUtilitySession > &session) | |
DatabaseUtility (const DatabaseUtility &rhs) | |
bool | dumpMapping (const std::string &mappingVersion, std::ostream &outputStream) |
void | eraseMapping (const std::string &mappingVersion) |
void | importContainer (const std::string &sourceConnectionString, const std::string &containerName) |
void | importContainerSchema (const std::string &sourceConnectionString, const std::string &containerName) |
std::map< std::string, std::string > | listMappings (const std::string &containerName) |
std::set< std::string > | listMappingVersions (const std::string &containerName) |
DatabaseUtility & | operator= (const DatabaseUtility &rhs) |
virtual | ~DatabaseUtility () |
Private Attributes | |
Handle< DatabaseUtilitySession > | m_session |
Definition at line 14 of file DatabaseUtility.h.
ora::DatabaseUtility::DatabaseUtility | ( | ) |
Definition at line 8 of file DatabaseUtility.cc.
|
explicit |
Definition at line 12 of file DatabaseUtility.cc.
ora::DatabaseUtility::DatabaseUtility | ( | const DatabaseUtility & | rhs | ) |
Definition at line 16 of file DatabaseUtility.cc.
|
virtual |
Definition at line 20 of file DatabaseUtility.cc.
bool ora::DatabaseUtility::dumpMapping | ( | const std::string & | mappingVersion, |
std::ostream & | outputStream | ||
) |
Definition at line 46 of file DatabaseUtility.cc.
void ora::DatabaseUtility::eraseMapping | ( | const std::string & | mappingVersion | ) |
Definition at line 61 of file DatabaseUtility.cc.
Referenced by cond::DbSession::deleteMapping().
void ora::DatabaseUtility::importContainer | ( | const std::string & | sourceConnectionString, |
const std::string & | containerName | ||
) |
Definition at line 56 of file DatabaseUtility.cc.
void ora::DatabaseUtility::importContainerSchema | ( | const std::string & | sourceConnectionString, |
const std::string & | containerName | ||
) |
Definition at line 51 of file DatabaseUtility.cc.
Referenced by cond::DbSession::importMapping().
std::map< std::string, std::string > ora::DatabaseUtility::listMappings | ( | const std::string & | containerName | ) |
Definition at line 37 of file DatabaseUtility.cc.
References generateEDF::cont, ora::DatabaseContainer::id(), and ora::throwException().
std::set< std::string > ora::DatabaseUtility::listMappingVersions | ( | const std::string & | containerName | ) |
Definition at line 28 of file DatabaseUtility.cc.
References generateEDF::cont, ora::DatabaseContainer::id(), and ora::throwException().
ora::DatabaseUtility & ora::DatabaseUtility::operator= | ( | const DatabaseUtility & | rhs | ) |
Definition at line 23 of file DatabaseUtility.cc.
References m_session.
|
private |
Definition at line 51 of file DatabaseUtility.h.
Referenced by operator=().