#include <DatabaseUtilitySession.h>
Public Member Functions | |
Handle< DatabaseContainer > | containerHandle (const std::string &name) |
DatabaseUtilitySession (DatabaseSession &dbSession) | |
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 (int containerId) |
std::set< std::string > | listMappingVersions (int containerId) |
virtual | ~DatabaseUtilitySession () |
Private Member Functions | |
bool | existsContainer (const std::string &containerName) |
Handle< ora::DatabaseContainer > | importContainerSchema (const std::string &containerName, DatabaseSession &sourceDbSession) |
Private Attributes | |
DatabaseSession & | m_session |
Definition at line 14 of file DatabaseUtilitySession.h.
|
explicit |
Definition at line 13 of file DatabaseUtilitySession.cc.
|
virtual |
Definition at line 17 of file DatabaseUtilitySession.cc.
ora::Handle< ora::DatabaseContainer > ora::DatabaseUtilitySession::containerHandle | ( | const std::string & | name | ) |
Definition at line 227 of file DatabaseUtilitySession.cc.
bool ora::DatabaseUtilitySession::dumpMapping | ( | const std::string & | mappingVersion, |
std::ostream & | outputStream | ||
) |
Definition at line 32 of file DatabaseUtilitySession.cc.
void ora::DatabaseUtilitySession::eraseMapping | ( | const std::string & | mappingVersion | ) |
Definition at line 218 of file DatabaseUtilitySession.cc.
|
private |
Definition at line 184 of file DatabaseUtilitySession.cc.
void ora::DatabaseUtilitySession::importContainer | ( | const std::string & | sourceConnectionString, |
const std::string & | containerName | ||
) |
Definition at line 196 of file DatabaseUtilitySession.cc.
void ora::DatabaseUtilitySession::importContainerSchema | ( | const std::string & | sourceConnectionString, |
const std::string & | containerName | ||
) |
Definition at line 174 of file DatabaseUtilitySession.cc.
|
private |
third evolve the schema for all the further versions involved
Definition at line 42 of file DatabaseUtilitySession.cc.
std::map< std::string, std::string > ora::DatabaseUtilitySession::listMappings | ( | int | containerId | ) |
Definition at line 26 of file DatabaseUtilitySession.cc.
std::set< std::string > ora::DatabaseUtilitySession::listMappingVersions | ( | int | containerId | ) |
Definition at line 20 of file DatabaseUtilitySession.cc.
|
private |
Definition at line 42 of file DatabaseUtilitySession.h.