#include <DatabaseUtility.h>
Public Member Functions | |
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.
|
explicit |
Definition at line 8 of file DatabaseUtility.cc.
ora::DatabaseUtility::DatabaseUtility | ( | const DatabaseUtility & | rhs | ) |
Definition at line 12 of file DatabaseUtility.cc.
|
virtual |
Definition at line 16 of file DatabaseUtility.cc.
bool ora::DatabaseUtility::dumpMapping | ( | const std::string & | mappingVersion, |
std::ostream & | outputStream | ||
) |
Definition at line 42 of file DatabaseUtility.cc.
void ora::DatabaseUtility::eraseMapping | ( | const std::string & | mappingVersion | ) |
Definition at line 57 of file DatabaseUtility.cc.
Referenced by cond::DbSession::deleteMapping().
void ora::DatabaseUtility::importContainer | ( | const std::string & | sourceConnectionString, |
const std::string & | containerName | ||
) |
Definition at line 52 of file DatabaseUtility.cc.
void ora::DatabaseUtility::importContainerSchema | ( | const std::string & | sourceConnectionString, |
const std::string & | containerName | ||
) |
Definition at line 47 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 33 of file DatabaseUtility.cc.
References cont, ora::DatabaseContainer::id(), and ora::throwException().
std::set< std::string > ora::DatabaseUtility::listMappingVersions | ( | const std::string & | containerName | ) |
Definition at line 24 of file DatabaseUtility.cc.
References cont, ora::DatabaseContainer::id(), and ora::throwException().
ora::DatabaseUtility & ora::DatabaseUtility::operator= | ( | const DatabaseUtility & | rhs | ) |
Definition at line 19 of file DatabaseUtility.cc.
References m_session.
|
private |
Definition at line 48 of file DatabaseUtility.h.
Referenced by operator=().