#include <MappingRules.h>
Classes | |
struct | ToUpper |
Static Public Member Functions | |
static std::string | baseClassVersion () |
static std::string | baseIdForClass (const std::string &className) |
static std::string | classId (const std::string &className, const std::string &classVersion) |
static std::pair< bool, std::string > | classNameFromBaseId (const std::string &classId) |
static std::string | classVersionFromId (const std::string &classId) |
static std::string | classVersionPropertyNameInDictionary () |
static std::string | columnNameForBlobMetadata (const std::string &dataColumnName) |
static std::string | columnNameForId () |
static std::string | columnNameForNamedReference (const std::string &variableName, const std::string &scope) |
static std::string | columnNameForOID (const std::string &variableName, const std::string &scope, unsigned int index) |
static std::string | columnNameForPosition () |
static std::string | columnNameForRefColumn () |
static std::string | columnNameForRefId (const std::string &variableName, const std::string &scope) |
static std::string | columnNameForRefMetadata (const std::string &variableName, const std::string &scope) |
static std::string | columnNameForVariable (const std::string &variableName, const std::string &scope, bool forData=true) |
static std::string | defaultClassVersion (const std::string &className) |
static std::string | fkNameForIdentity (const std::string &tableName, int index=0) |
static std::string | formatName (const std::string &variableName, size_t maxLength) |
formatting for variable names to schema object names More... | |
static bool | isLooseOnReading (const std::string &persistencyProperty) |
static bool | isLooseOnWriting (const std::string &persistencyProperty) |
static bool | isMappedToBlob (const std::string &mappingProperty) |
static std::string | mappingPropertyNameInDictionary () |
class related parameters More... | |
static std::string | newMappingVersionForContainer (const std::string &containerName, int iteration) |
mapping versions More... | |
static std::string | newMappingVersionForDependentClass (const std::string &containerName, const std::string &className, int iteration) |
static std::string | newNameForArraySchemaObject (const std::string &initialName, unsigned int index, size_t maxLength) |
static std::string | newNameForDepSchemaObject (const std::string &initialName, unsigned int index, size_t maxLength) |
static std::string | newNameForSchemaObject (const std::string &initialName, unsigned int index, size_t maxLength, char indexTrailer=0) |
functions for new schema object name generation More... | |
static std::string | persistencyPropertyNameInDictionary () |
static std::string | scopedVariableForSchemaObjects (const std::string &variableName, const std::string &scope) |
static std::string | scopedVariableName (const std::string &variableName, const std::string &scope) |
variable name manipulation More... | |
static std::string | sequenceNameForContainer (const std::string &containerName) |
static std::string | sequenceNameForContainerId () |
sequence names More... | |
static std::string | sequenceNameForDependentClass (const std::string &containerName, const std::string &className) |
static std::string | sequenceNameForMapping () |
static std::string | tableNameForItem (const std::string &itemName) |
schema object naming More... | |
static std::string | variableNameForArrayColumn (unsigned int arrayIndex) |
static std::string | variableNameForArrayColumn (const edm::TypeWithDict &array) |
static std::string | variableNameForArrayIndex (const std::string &arrayVariable, unsigned int index) |
static std::string | variableNameForContainerKey () |
static std::string | variableNameForContainerValue () |
Static Public Attributes | |
static const size_t | ClassNameLengthForSchema = 7 |
size parameters for table creation More... | |
static const size_t | MaxColumnNameLength = 30 |
static const size_t | MaxColumnsForInlineCArray = 13 |
static const size_t | MaxColumnsPerTable = 100 |
static const size_t | MaxTableNameLength = 20 |
Static Private Member Functions | |
static std::string | nameForSchema (const std::string &variableName) |
static std::string | nameFromTemplate (const std::string &templateClassName, size_t maxLength) |
static std::string | newMappingVersion (const std::string &itemName, int iteration, char versionTrailer) |
static std::string | shortNameByUpperCase (const std::string &className, size_t maxLength) |
static std::string | shortScopedName (const std::string &scopedClassName, size_t maxLength) |
Definition at line 15 of file MappingRules.h.
|
static |
Definition at line 84 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingDatabase::insertClassVersion().
|
static |
Definition at line 79 of file MappingRules.cc.
Referenced by ora::MappingDatabase::getBaseMappingForContainer(), and ora::MappingDatabase::insertClassVersion().
|
static |
Definition at line 64 of file MappingRules.cc.
Referenced by ora::MappingDatabase::getMappingForContainer(), ora::MappingDatabase::insertClassVersion(), and ora::MappingDatabase::setMappingVersionForClass().
|
static |
Definition at line 90 of file MappingRules.cc.
References GOODCOLL_filter_cfg::cut, and run_regression::ret.
Referenced by ora::PoolMappingSchema::selectMappingVersion().
|
static |
Definition at line 69 of file MappingRules.cc.
References customizeTrackingMonitorSeedNumber::idx, run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::PoolMappingSchema::selectMappingVersion(), and ora::PoolMappingSchema::setMappingVersion().
|
static |
Definition at line 109 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingDatabase::versionOfClass().
|
static |
Definition at line 512 of file MappingRules.cc.
References prof2calltree::prefix, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::processLeafElement().
|
static |
Definition at line 409 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingGenerator::createNewDependentMapping(), ora::MappingGenerator::createNewMapping(), ora::ArrayMapping::process(), and ora::CArrayMapping::process().
|
static |
Definition at line 479 of file MappingRules.cc.
References run_regression::ret.
Referenced by ora::NamedRefMapping::process().
|
static |
Definition at line 469 of file MappingRules.cc.
References cmsHarvester::index, and run_regression::ret.
Referenced by ora::OraReferenceMapping::process().
|
static |
Definition at line 506 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ArrayMapping::process(), and ora::CArrayMapping::process().
|
static |
Definition at line 415 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingGenerator::createNewDependentMapping().
|
static |
Definition at line 497 of file MappingRules.cc.
References run_regression::ret.
Referenced by ora::UniqueReferenceMapping::process().
|
static |
Definition at line 488 of file MappingRules.cc.
References run_regression::ret.
Referenced by ora::UniqueReferenceMapping::process().
|
static |
Definition at line 421 of file MappingRules.cc.
References run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::processLeafElement().
|
static |
Definition at line 101 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingDatabase::versionOfClass().
|
static |
Definition at line 518 of file MappingRules.cc.
References cmsHarvester::index, and run_regression::ret.
Referenced by ora::MappingToSchema::createTable().
|
static |
formatting for variable names to schema object names
Definition at line 526 of file MappingRules.cc.
Referenced by ora::MappingGenerator::createNewDependentMapping(), and ora::MappingGenerator::createNewMapping().
|
static |
Definition at line 54 of file MappingRules.cc.
Referenced by ora::isLoosePersistencyDataMember().
|
static |
Definition at line 59 of file MappingRules.cc.
Referenced by ora::isLoosePersistencyDataMember(), and ora::isLoosePersistencyOnWriting().
|
static |
Definition at line 43 of file MappingRules.cc.
Referenced by ora::isMappedToBlob().
|
static |
class related parameters
Definition at line 36 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::isMappedToBlob().
|
staticprivate |
Definition at line 252 of file MappingRules.cc.
References dqm_diff::start, AlCaHLTBitMon_QueryRunRegistry::string, create_public_lumi_plots::transform, and up.
|
staticprivate |
Definition at line 362 of file MappingRules.cc.
References i, prof2calltree::prefix, and AlCaHLTBitMon_QueryRunRegistry::string.
|
staticprivate |
|
static |
mapping versions
Definition at line 134 of file MappingRules.cc.
Referenced by ora::MappingDatabase::newMappingVersionForContainer().
|
static |
Definition at line 140 of file MappingRules.cc.
References className(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingDatabase::newMappingVersionForDependentClass().
|
static |
Definition at line 244 of file MappingRules.cc.
Referenced by ora::ArrayMapping::process(), and ora::CArrayMapping::process().
|
static |
Definition at line 236 of file MappingRules.cc.
Referenced by ora::MappingGenerator::createNewDependentMapping().
|
static |
functions for new schema object name generation
Definition at line 216 of file MappingRules.cc.
References cmsHarvester::index, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::OraReferenceMapping::process(), ora::UniqueReferenceMapping::process(), ora::NamedRefMapping::process(), and ora::processLeafElement().
|
static |
Definition at line 48 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::isLoosePersistencyDataMember(), and ora::isLoosePersistencyOnWriting().
|
static |
Definition at line 191 of file MappingRules.cc.
Referenced by ora::processBaseClasses().
|
static |
variable name manipulation
Definition at line 149 of file MappingRules.cc.
Referenced by ora::ObjectStreamerBase::buildBaseDataMembers(), ora::ObjectStreamerBase::buildDataMembers(), and ora::processBaseClasses().
|
static |
Definition at line 15 of file MappingRules.cc.
References run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::PoolDbCache::add(), ora::ContainerSchema::create(), ora::ContainerSchema::drop(), ora::DatabaseUtilitySession::importContainerSchema(), ora::DatabaseContainer::insertItem(), and ora::PoolDbCache::remove().
|
static |
sequence names
Definition at line 10 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::PoolDbCache::add(), ora::PoolDbCache::clear(), and ora::DatabaseSession::startTransaction().
|
static |
Definition at line 21 of file MappingRules.cc.
References className(), run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ContainerSchema::create(), ora::ContainerSchema::drop(), ora::DatabaseUtilitySession::importContainerSchema(), and ora::UniqueRefWriter::write().
|
static |
Definition at line 30 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::PoolDbCache::clear().
|
staticprivate |
Definition at line 265 of file MappingRules.cc.
References GOODCOLL_filter_cfg::cut, i, j, bookConverter::max, and dqm_diff::start.
|
staticprivate |
Definition at line 311 of file MappingRules.cc.
References run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
schema object naming
Definition at line 403 of file MappingRules.cc.
Referenced by ora::MappingGenerator::createNewMapping().
|
static |
Definition at line 166 of file MappingRules.cc.
Referenced by ora::CArrayMapping::process().
|
static |
Definition at line 173 of file MappingRules.cc.
References ora::ClassUtils::arrayLength().
|
static |
Definition at line 158 of file MappingRules.cc.
Referenced by ora::InlineCArrayStreamerBase::buildDataElement(), and ora::CArrayMapping::process().
|
static |
Definition at line 185 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ArrayMapping::process().
|
static |
Definition at line 180 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ArrayMapping::process().
|
static |
size parameters for table creation
Definition at line 18 of file MappingRules.h.
Referenced by ora::MappingGenerator::createNewDependentMapping(), and ora::MappingGenerator::createNewMapping().
|
static |
Definition at line 20 of file MappingRules.h.
Referenced by ora::OraReferenceMapping::process(), ora::UniqueReferenceMapping::process(), ora::NamedRefMapping::process(), and ora::processLeafElement().
|
static |
Definition at line 22 of file MappingRules.h.
Referenced by ora::CArrayMapping::process().
|
static |
Definition at line 21 of file MappingRules.h.
Referenced by ora::MappingGenerator::createNewDependentMapping(), ora::MappingGenerator::createNewMapping(), and ora::CArrayMapping::process().
|
static |
Definition at line 19 of file MappingRules.h.
Referenced by ora::MappingGenerator::createNewDependentMapping(), ora::ArrayMapping::process(), and ora::CArrayMapping::process().