#include <PoolDatabaseSchema.h>
|
bool | containerForMappingVersion (const std::string &mappingVersion, int &destination) |
|
bool | getClassVersionListForContainer (int containerId, std::map< std::string, std::string > &versionMap) |
|
bool | getClassVersionListForMappingVersion (const std::string &mappingVersion, std::set< std::string > &destination) |
|
bool | getContainerTableMap (std::map< std::string, int > &destination) |
|
bool | getDependentClassesInContainerMapping (int containerId, std::set< std::string > &destination) |
|
bool | getMapping (const std::string &version, MappingRawData &destination) |
|
bool | getMappingVersionListForContainer (int containerId, std::set< std::string > &destination, bool onlyDependency=false) |
|
bool | getMappingVersionListForTable (const std::string &tableName, std::set< std::string > &destination) |
|
bool | getVersionList (std::set< std::string > &destination) |
|
void | init (PoolDbCache &dbCache) |
|
void | insertClassVersion (const std::string &className, const std::string &classVersion, const std::string &classId, int dependencyIndex, int containerId, const std::string &mappingVersion) |
|
| PoolMappingSchema (coral::ISchema &dbSchema) |
|
void | removeMapping (const std::string &version) |
|
bool | selectMappingVersion (const std::string &classId, int containerId, std::string &destination) |
|
void | setMappingVersion (const std::string &classId, int containerId, const std::string &mappingVersion) |
|
void | storeMapping (const MappingRawData &mapping) |
|
virtual | ~PoolMappingSchema () |
|
virtual | ~IMappingSchema () |
|
Definition at line 173 of file PoolDatabaseSchema.h.
ora::PoolMappingSchema::PoolMappingSchema |
( |
coral::ISchema & |
dbSchema | ) |
|
|
explicit |
ora::PoolMappingSchema::~PoolMappingSchema |
( |
| ) |
|
|
virtual |
bool ora::PoolMappingSchema::containerForMappingVersion |
( |
const std::string & |
mappingVersion, |
|
|
int & |
destination |
|
) |
| |
|
virtual |
std::string ora::PoolMappingSchema::emptyScope |
( |
| ) |
|
|
static |
bool ora::PoolMappingSchema::getClassVersionListForContainer |
( |
int |
containerId, |
|
|
std::map< std::string, std::string > & |
versionMap |
|
) |
| |
|
virtual |
bool ora::PoolMappingSchema::getClassVersionListForMappingVersion |
( |
const std::string & |
mappingVersion, |
|
|
std::set< std::string > & |
destination |
|
) |
| |
|
virtual |
bool ora::PoolMappingSchema::getContainerTableMap |
( |
std::map< std::string, int > & |
destination | ) |
|
|
virtual |
bool ora::PoolMappingSchema::getDependentClassesInContainerMapping |
( |
int |
containerId, |
|
|
std::set< std::string > & |
destination |
|
) |
| |
|
virtual |
bool ora::PoolMappingSchema::getMapping |
( |
const std::string & |
version, |
|
|
ora::MappingRawData & |
dest |
|
) |
| |
|
virtual |
bool ora::PoolMappingSchema::getMappingVersionListForContainer |
( |
int |
containerId, |
|
|
std::set< std::string > & |
destination, |
|
|
bool |
onlyDependency = false |
|
) |
| |
|
virtual |
bool ora::PoolMappingSchema::getMappingVersionListForTable |
( |
const std::string & |
tableName, |
|
|
std::set< std::string > & |
destination |
|
) |
| |
|
virtual |
bool ora::PoolMappingSchema::getVersionList |
( |
std::set< std::string > & |
destination | ) |
|
|
virtual |
void ora::PoolMappingSchema::init |
( |
PoolDbCache & |
dbCache | ) |
|
void ora::PoolMappingSchema::insertClassVersion |
( |
const std::string & |
className, |
|
|
const std::string & |
classVersion, |
|
|
const std::string & |
classId, |
|
|
int |
dependencyIndex, |
|
|
int |
containerId, |
|
|
const std::string & |
mappingVersion |
|
) |
| |
|
virtual |
void ora::PoolMappingSchema::removeMapping |
( |
const std::string & |
version | ) |
|
|
virtual |
bool ora::PoolMappingSchema::selectMappingVersion |
( |
const std::string & |
classId, |
|
|
int |
containerId, |
|
|
std::string & |
destination |
|
) |
| |
|
virtual |
void ora::PoolMappingSchema::setMappingVersion |
( |
const std::string & |
classId, |
|
|
int |
containerId, |
|
|
const std::string & |
mappingVersion |
|
) |
| |
|
virtual |
void ora::PoolMappingSchema::storeMapping |
( |
const MappingRawData & |
mapping | ) |
|
|
virtual |
coral::ISchema& ora::PoolMappingSchema::m_schema |
|
private |