#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 Reflex::Type &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 83 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingDatabase::insertClassVersion().
|
static |
Definition at line 78 of file MappingRules.cc.
Referenced by ora::MappingDatabase::getBaseMappingForContainer(), and ora::MappingDatabase::insertClassVersion().
|
static |
Definition at line 63 of file MappingRules.cc.
Referenced by ora::MappingDatabase::getMappingForContainer(), ora::MappingDatabase::insertClassVersion(), and ora::MappingDatabase::setMappingVersionForClass().
|
static |
Definition at line 89 of file MappingRules.cc.
References GOODCOLL_filter_cfg::cut, and run_regression::ret.
Referenced by ora::PoolMappingSchema::selectMappingVersion().
|
static |
Definition at line 68 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 108 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingDatabase::versionOfClass().
|
static |
Definition at line 510 of file MappingRules.cc.
References prof2calltree::prefix, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::processLeafElement().
|
static |
Definition at line 407 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 477 of file MappingRules.cc.
References run_regression::ret.
Referenced by ora::NamedRefMapping::process().
|
static |
Definition at line 467 of file MappingRules.cc.
References getHLTprescales::index, and run_regression::ret.
Referenced by ora::OraReferenceMapping::process().
|
static |
Definition at line 504 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ArrayMapping::process(), and ora::CArrayMapping::process().
|
static |
Definition at line 413 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingGenerator::createNewDependentMapping().
|
static |
Definition at line 495 of file MappingRules.cc.
References run_regression::ret.
Referenced by ora::UniqueReferenceMapping::process().
|
static |
Definition at line 486 of file MappingRules.cc.
References run_regression::ret.
Referenced by ora::UniqueReferenceMapping::process().
|
static |
Definition at line 419 of file MappingRules.cc.
References run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::processLeafElement().
|
static |
Definition at line 100 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingDatabase::versionOfClass().
|
static |
Definition at line 516 of file MappingRules.cc.
References getHLTprescales::index, and run_regression::ret.
Referenced by ora::MappingToSchema::createTable().
|
static |
formatting for variable names to schema object names
Definition at line 524 of file MappingRules.cc.
Referenced by ora::MappingGenerator::createNewDependentMapping(), and ora::MappingGenerator::createNewMapping().
|
static |
Definition at line 53 of file MappingRules.cc.
Referenced by ora::isLoosePersistencyDataMember().
|
static |
Definition at line 58 of file MappingRules.cc.
Referenced by ora::isLoosePersistencyDataMember(), and ora::isLoosePersistencyOnWriting().
|
static |
Definition at line 42 of file MappingRules.cc.
Referenced by ora::ObjectMapping::process(), and ora::processBaseClasses().
|
static |
class related parameters
Definition at line 35 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ObjectMapping::process(), and ora::processBaseClasses().
|
staticprivate |
Definition at line 250 of file MappingRules.cc.
References dqm_diff::start, AlCaHLTBitMon_QueryRunRegistry::string, and create_public_pileup_plots::transform.
|
staticprivate |
Definition at line 360 of file MappingRules.cc.
References i, prof2calltree::prefix, and AlCaHLTBitMon_QueryRunRegistry::string.
|
staticprivate |
|
static |
mapping versions
Definition at line 133 of file MappingRules.cc.
Referenced by ora::MappingDatabase::newMappingVersionForContainer().
|
static |
Definition at line 139 of file MappingRules.cc.
References className(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingDatabase::newMappingVersionForDependentClass().
|
static |
Definition at line 242 of file MappingRules.cc.
Referenced by ora::ArrayMapping::process(), and ora::CArrayMapping::process().
|
static |
Definition at line 234 of file MappingRules.cc.
Referenced by ora::MappingGenerator::createNewDependentMapping().
|
static |
functions for new schema object name generation
Definition at line 214 of file MappingRules.cc.
References getHLTprescales::index, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::OraReferenceMapping::process(), ora::UniqueReferenceMapping::process(), ora::NamedRefMapping::process(), and ora::processLeafElement().
|
static |
Definition at line 47 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::isLoosePersistencyDataMember(), and ora::isLoosePersistencyOnWriting().
|
static |
Definition at line 189 of file MappingRules.cc.
Referenced by ora::processBaseClasses().
|
static |
variable name manipulation
Definition at line 148 of file MappingRules.cc.
Referenced by ora::ObjectStreamerBase::buildBaseDataMembers(), ora::ObjectStreamerBase::buildDataMembers(), and ora::processBaseClasses().
|
static |
Definition at line 14 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 9 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::PoolDbCache::add(), ora::PoolDbCache::clear(), and ora::DatabaseSession::startTransaction().
|
static |
Definition at line 20 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 29 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::PoolDbCache::clear().
|
staticprivate |
Definition at line 263 of file MappingRules.cc.
References GOODCOLL_filter_cfg::cut, i, j, max(), cfg-viewer::more, and dqm_diff::start.
|
staticprivate |
Definition at line 309 of file MappingRules.cc.
References run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
schema object naming
Definition at line 401 of file MappingRules.cc.
Referenced by ora::MappingGenerator::createNewMapping().
|
static |
Definition at line 165 of file MappingRules.cc.
Referenced by ora::CArrayMapping::process().
|
static |
Definition at line 172 of file MappingRules.cc.
|
static |
Definition at line 157 of file MappingRules.cc.
Referenced by ora::InlineCArrayStreamerBase::buildDataElement(), and ora::CArrayMapping::process().
|
static |
Definition at line 183 of file MappingRules.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ArrayMapping::process().
|
static |
Definition at line 178 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().