#include <PoolDatabaseSchema.h>
Public Member Functions | |
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 () |
Public Member Functions inherited from ora::IMappingSchema | |
virtual | ~IMappingSchema () |
Static Public Member Functions | |
static std::string | emptyScope () |
Private Attributes | |
PoolDbCache * | m_dbCache |
coral::ISchema & | m_schema |
Definition at line 173 of file PoolDatabaseSchema.h.
|
explicit |
Definition at line 750 of file PoolDatabaseSchema.cc.
|
virtual |
Definition at line 755 of file PoolDatabaseSchema.cc.
|
virtual |
Implements ora::IMappingSchema.
Definition at line 1091 of file PoolDatabaseSchema.cc.
|
static |
Definition at line 745 of file PoolDatabaseSchema.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Implements ora::IMappingSchema.
Definition at line 1015 of file PoolDatabaseSchema.cc.
References ora::PoolClassVersionTable::classVersionColumn(), ora::PoolContainerHeaderTable::containerIdColumn(), ora::PoolContainerHeaderTable::containerNameColumn(), ora::PoolClassVersionTable::containerNameColumn(), ora::PoolClassVersionTable::mappingVersionColumn(), o2o::query, runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, ora::PoolContainerHeaderTable::tableName(), and ora::PoolClassVersionTable::tableName().
|
virtual |
Implements ora::IMappingSchema.
Definition at line 991 of file PoolDatabaseSchema.cc.
References ora::PoolClassVersionTable::classVersionColumn(), ora::PoolClassVersionTable::mappingVersionColumn(), o2o::query, runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, and ora::PoolClassVersionTable::tableName().
|
virtual |
Implements ora::IMappingSchema.
Definition at line 946 of file PoolDatabaseSchema.cc.
|
virtual |
Implements ora::IMappingSchema.
Definition at line 985 of file PoolDatabaseSchema.cc.
|
virtual |
Implements ora::IMappingSchema.
Definition at line 792 of file PoolDatabaseSchema.cc.
References ora::MappingRawData::addElement(), ora::MappingElement::classMappingElementType(), ora::PoolMappingElementTable::columnNameColumn(), HTMLExport::elem(), ora::MappingRawElement::elementType, ora::PoolMappingElementTable::elementTypeColumn(), ora::MappingRawElement::emptyScope(), ora::mappingTypeFromPool(), ora::PoolMappingElementTable::mappingVersionColumn(), ora::MappingElement::objectMappingElementType(), o2o::query, ora::rebuildPoolMapping(), runTheMatrix::ret, ora::MappingRawElement::scopeName, ora::PoolMappingElementTable::scopeNameColumn(), AlCaHLTBitMon_QueryRunRegistry::string, ora::MappingRawElement::tableName, ora::PoolMappingElementTable::tableName(), ora::PoolMappingElementTable::tableNameColumn(), ora::MappingRawElement::variableName, ora::PoolMappingElementTable::variableNameColumn(), ora::variableNameFromPool(), ora::PoolMappingElementTable::variableParIndexColumn(), ora::MappingRawElement::variableType, and ora::PoolMappingElementTable::variableTypeColumn().
|
virtual |
Implements ora::IMappingSchema.
Definition at line 951 of file PoolDatabaseSchema.cc.
References ora::PoolContainerHeaderTable::containerIdColumn(), ora::PoolContainerHeaderTable::containerNameColumn(), ora::PoolClassVersionTable::containerNameColumn(), ora::MappingElement::dependencyMappingElementType(), ora::PoolMappingElementTable::elementTypeColumn(), ora::PoolMappingElementTable::mappingVersionColumn(), ora::PoolClassVersionTable::mappingVersionColumn(), o2o::query, runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, ora::PoolMappingElementTable::tableName(), ora::PoolContainerHeaderTable::tableName(), and ora::PoolClassVersionTable::tableName().
|
virtual |
Implements ora::IMappingSchema.
Definition at line 1043 of file PoolDatabaseSchema.cc.
|
virtual |
Implements ora::IMappingSchema.
Definition at line 762 of file PoolDatabaseSchema.cc.
References ora::PoolMappingVersionTable::mappingVersionColumn(), o2o::query, runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, and ora::PoolMappingVersionTable::tableName().
void ora::PoolMappingSchema::init | ( | PoolDbCache & | dbCache | ) |
Definition at line 758 of file PoolDatabaseSchema.cc.
Referenced by ora::PoolDatabaseSchema::PoolDatabaseSchema().
|
virtual |
Implements ora::IMappingSchema.
Definition at line 1097 of file PoolDatabaseSchema.cc.
References ora::PoolClassVersionTable::classVersionColumn(), ora::PoolClassVersionTable::containerNameColumn(), idDealer::inputData, ora::PoolClassVersionTable::mappingVersionColumn(), AlCaHLTBitMon_QueryRunRegistry::string, ora::PoolClassVersionTable::tableName(), and ora::throwException().
|
virtual |
Implements ora::IMappingSchema.
Definition at line 934 of file PoolDatabaseSchema.cc.
References ora::PoolMappingVersionTable::mappingVersionColumn(), AlCaHLTBitMon_QueryRunRegistry::string, ora::PoolMappingVersionTable::tableName(), ora::PoolMappingElementTable::tableName(), and ora::PoolClassVersionTable::tableName().
|
virtual |
Implements ora::IMappingSchema.
Definition at line 1049 of file PoolDatabaseSchema.cc.
References ora::MappingRules::classNameFromBaseId(), ora::PoolClassVersionTable::classVersionColumn(), ora::MappingRules::classVersionFromId(), ora::PoolContainerHeaderTable::containerIdColumn(), ora::PoolContainerHeaderTable::containerNameColumn(), ora::PoolClassVersionTable::containerNameColumn(), ora::PoolDbCacheData::m_className, ora::PoolDbCacheData::m_mappingVersion, ora::PoolClassVersionTable::mappingVersionColumn(), o2o::query, runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, ora::PoolContainerHeaderTable::tableName(), and ora::PoolClassVersionTable::tableName().
|
virtual |
Implements ora::IMappingSchema.
Definition at line 1123 of file PoolDatabaseSchema.cc.
References ora::PoolClassVersionTable::classVersionColumn(), ora::MappingRules::classVersionFromId(), ora::PoolClassVersionTable::containerNameColumn(), idDealer::inputData, ora::PoolClassVersionTable::mappingVersionColumn(), AlCaHLTBitMon_QueryRunRegistry::string, ora::PoolClassVersionTable::tableName(), and ora::throwException().
|
virtual |
Implements ora::IMappingSchema.
Definition at line 892 of file PoolDatabaseSchema.cc.
References ora::PoolMappingElementTable::columnNameColumn(), ora::PoolMappingElementTable::elementIdColumn(), ora::MappingRawData::elements, ora::PoolMappingElementTable::elementTypeColumn(), ora::MappingRawElement::emptyScope(), ora::PoolMappingVersionTable::mappingVersionColumn(), ora::PoolMappingElementTable::mappingVersionColumn(), ora::PoolMappingElementTable::scopeNameColumn(), AlCaHLTBitMon_QueryRunRegistry::string, ora::PoolMappingVersionTable::tableName(), ora::PoolMappingElementTable::tableName(), ora::PoolMappingElementTable::tableNameColumn(), ora::PoolMappingElementTable::variableNameColumn(), ora::PoolMappingElementTable::variableParIndexColumn(), ora::PoolMappingElementTable::variableTypeColumn(), and ora::MappingRawData::version.
|
private |
Definition at line 198 of file PoolDatabaseSchema.h.
|
private |
Definition at line 197 of file PoolDatabaseSchema.h.