TO BE REMOVED. More...
Namespaces | |
ClassUtils | |
RelationalMapping | |
SchemaUtils | |
Enumerations | |
enum | ConditionType { Eq, Gt, Lt, Ge, Le } |
enum | SelectionItemType { EQ, NE, GT, GE, LT, LE } |
Functions | |
void | addFromTableHierarchy (const std::string &tableName, std::map< std::string, std::set< std::string > > &tableList, std::vector< std::string > &orderedList) |
void | checkString (const std::string &s, int code, bool thro=true) |
const char * | conditionOfType (ConditionType condType) |
void | deleteArrayElements (MappingElement &mapping, int oid, int fromIndex, RelationalBuffer &buffer) |
int | existAttribute (const std::string &attributeName, const coral::AttributeList &data) |
Container | getContainerFromSession (const std::string &name, const Reflex::Type &contType, DatabaseSession &session) |
void | getTableHierarchyFromMappingElement (const MappingElement &source, std::map< std::string, std::set< std::string > > &tableList) |
std::string | guidFromTime () |
bool | isLoosePersistencyDataMember (const Reflex::Member &dataMember) |
bool | isLoosePersistencyOnWriting (const Reflex::Member &dataMember) |
std::string | mappingTypeFromPool (const std::string &mappingType) |
std::string | namedRefNullLabel () |
std::string | nameFromClass (const Reflex::Type &contType) |
std::string | poolSchemaVersion () |
void | processBaseClasses (MappingElement &mappingElement, const Reflex::Type &objType, const std::string &scopeNameForSchema, TableRegister &tableRegister) |
void | processLeafElement (MappingElement &parentElement, const std::string &elementType, const std::string &typeName, const std::string &attributeName, const std::string &attributeNameForSchema, const std::string &scopeNameForSchema, TableRegister &tableRegister) |
void | processTableHierarchy (const MappingElement &element, std::set< std::string > &tableRegister, std::vector< std::pair< std::string, std::string > > &tableList) |
void | rebuildPoolMapping (const std::string &scope, const std::string &extraScope, const std::map< std::string, std::vector< MappingRawElement > > &elementsByScope, ora::MappingRawData &dest, int &counter) |
void | scanElement (const MappingElement &element, const TableInfo ¤tTable, bool isDependency, std::vector< std::string > &tableHierarchy, std::map< std::string, TableInfo > &tableMap) |
void | setTableAccessPermission (coral::ITable &table, const std::string &principal, bool forWrite) |
void | throwException (const std::string &message, const std::string &methodName) __attribute__((noreturn)) |
void | throwException (const std::string &message, const std::type_info &sourceType, const std::string &methodName) __attribute__((noreturn)) |
std::string | uniqueRefNullLabel () |
static const std::string | validChars ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_-0123456789") |
std::string | variableNameFromPool (const std::string &variableName) |
TO BE REMOVED.
enum ora::ConditionType |
Enumerator | |
---|---|
Eq | |
Gt | |
Lt | |
Ge | |
Le |
Definition at line 33 of file RelationalOperation.h.
Enumerator | |
---|---|
EQ | |
NE | |
GT | |
GE | |
LT | |
LE |
Definition at line 16 of file Selection.h.
void ora::addFromTableHierarchy | ( | const std::string & | tableName, |
std::map< std::string, std::set< std::string > > & | tableList, | ||
std::vector< std::string > & | orderedList | ||
) |
Definition at line 35 of file ContainerSchema.cc.
Referenced by ora::ContainerSchema::getTableHierarchy().
void ora::checkString | ( | const std::string & | s, |
int | code, | ||
bool | thro = true |
||
) |
Definition at line 201 of file MappingRules.cc.
References i, throwException(), and validChars().
const char* ora::conditionOfType | ( | ConditionType | condType | ) |
Definition at line 27 of file RelationalOperation.cc.
Referenced by ora::InputRelationalData::addWhereId().
void ora::deleteArrayElements | ( | MappingElement & | mapping, |
int | oid, | ||
int | fromIndex, | ||
RelationalBuffer & | buffer | ||
) |
Definition at line 8 of file ArrayCommonImpl.cc.
References ora::InputRelationalData::addWhereId(), ora::MappingElement::begin(), ora::MappingElement::columnNames(), ora::MappingElement::elementType(), ora::MappingElement::end(), Ge, ora::RelationalBuffer::newDelete(), AlCaHLTBitMon_QueryRunRegistry::string, ora::MappingElement::tableName(), and ora::InputRelationalData::whereData().
Referenced by ora::PVectorUpdater::update().
int ora::existAttribute | ( | const std::string & | attributeName, |
const coral::AttributeList & | data | ||
) |
Definition at line 15 of file RelationalOperation.cc.
References getHLTprescales::index, and run_regression::ret.
Referenced by ora::InputRelationalData::addBlobData(), ora::InputRelationalData::addData(), ora::InputRelationalData::addId(), ora::InputRelationalData::addWhereId(), and ora::SelectOperation::addWhereId().
Container ora::getContainerFromSession | ( | const std::string & | name, |
const Reflex::Type & | contType, | ||
DatabaseSession & | session | ||
) |
Definition at line 41 of file Database.cc.
References ora::Configuration::automaticContainerCreation(), ora::Configuration::automaticDatabaseCreation(), ora::DatabaseSession::configuration(), ora::DatabaseSession::containerHandle(), ora::DatabaseSession::createContainer(), ora::Properties::getFlag(), ora::Configuration::properties(), and throwException().
Referenced by ora::Database::getContainer(), and ora::Database::insertItem().
void ora::getTableHierarchyFromMappingElement | ( | const MappingElement & | source, |
std::map< std::string, std::set< std::string > > & | tableList | ||
) |
Definition at line 16 of file ContainerSchema.cc.
References ora::MappingElement::begin(), ora::MappingElement::end(), AlCaHLTBitMon_QueryRunRegistry::string, and ora::MappingElement::tableName().
Referenced by ora::ContainerSchema::getTableHierarchy().
std::string ora::guidFromTime | ( | ) |
Definition at line 37 of file Guid.cc.
References ora::Guid::fromTime(), tmp, and ora::Guid::toString().
Referenced by ora::SessionMonitoringData::newTransaction(), and ora::Monitoring::startSession().
bool ora::isLoosePersistencyDataMember | ( | const Reflex::Member & | dataMember | ) |
Definition at line 13 of file ObjectStreamer.cc.
References ora::MappingRules::isLooseOnReading(), ora::MappingRules::isLooseOnWriting(), ora::MappingRules::persistencyPropertyNameInDictionary(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ObjectStreamerBase::buildBaseDataMembers(), and ora::ObjectStreamerBase::buildDataMembers().
bool ora::isLoosePersistencyOnWriting | ( | const Reflex::Member & | dataMember | ) |
Definition at line 535 of file RelationalMapping.cc.
References ora::MappingRules::isLooseOnWriting(), ora::MappingRules::persistencyPropertyNameInDictionary(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ObjectMapping::process(), and processBaseClasses().
std::string ora::mappingTypeFromPool | ( | const std::string & | mappingType | ) |
Definition at line 731 of file PoolDatabaseSchema.cc.
References ora::MappingElement::OraArrayMappingElementType().
Referenced by ora::PoolMappingSchema::getMapping().
std::string ora::namedRefNullLabel | ( | ) |
Definition at line 14 of file NamedRefStreamer.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::NamedReferenceStreamerBase::bindDataForRead(), and ora::NamedReferenceStreamerBase::bindDataForUpdate().
std::string ora::nameFromClass | ( | const Reflex::Type & | contType | ) |
Definition at line 37 of file Database.cc.
Referenced by ora::Database::createContainer(), ora::Database::getContainer(), and ora::Database::nameForContainer().
std::string ora::poolSchemaVersion | ( | ) |
Definition at line 9 of file IDatabaseSchema.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::BlobWriterBase::buildDataElement(), ora::Version::fromString(), and ora::PoolMainTable::schemaVersion().
void ora::processBaseClasses | ( | MappingElement & | mappingElement, |
const Reflex::Type & | objType, | ||
const std::string & | scopeNameForSchema, | ||
TableRegister & | tableRegister | ||
) |
Definition at line 544 of file RelationalMapping.cc.
References CustomConfigs::Base(), newFWLiteAna::base, className(), i, isLoosePersistencyOnWriting(), ora::MappingRules::isMappedToBlob(), j, ora::MappingRules::mappingPropertyNameInDictionary(), ora::RelationalMappingFactory::newProcessor(), ora::ClassUtils::resolvedType(), ora::MappingRules::scopedVariableForSchemaObjects(), ora::MappingRules::scopedVariableName(), AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by ora::ObjectMapping::process().
void ora::processLeafElement | ( | MappingElement & | parentElement, |
const std::string & | elementType, | ||
const std::string & | typeName, | ||
const std::string & | attributeName, | ||
const std::string & | attributeNameForSchema, | ||
const std::string & | scopeNameForSchema, | ||
TableRegister & | tableRegister | ||
) |
Definition at line 141 of file RelationalMapping.cc.
References ora::MappingElement::appendSubElement(), ora::MappingElement::blobMappingElementType(), ora::TableRegister::checkColumn(), ora::TableRegister::checkTable(), ora::MappingRules::columnNameForBlobMetadata(), ora::MappingRules::columnNameForVariable(), i, ora::TableRegister::insertColumn(), ora::MappingRules::MaxColumnNameLength, ora::MappingRules::newNameForSchemaObject(), ora::MappingElement::setColumnNames(), AlCaHLTBitMon_QueryRunRegistry::string, ora::MappingElement::tableName(), and throwException().
Referenced by ora::PrimitiveMapping::process(), and ora::BlobMapping::process().
void ora::processTableHierarchy | ( | const MappingElement & | element, |
std::set< std::string > & | tableRegister, | ||
std::vector< std::pair< std::string, std::string > > & | tableList | ||
) |
Definition at line 277 of file MappingElement.cc.
References ora::MappingElement::begin(), ora::MappingElement::columnNames(), ora::MappingElement::end(), AlCaHLTBitMon_QueryRunRegistry::string, ora::MappingElement::tableName(), throwException(), and ora::MappingElement::variableName().
Referenced by ora::MappingElement::tableHierarchy().
void ora::rebuildPoolMapping | ( | const std::string & | scope, |
const std::string & | extraScope, | ||
const std::map< std::string, std::vector< MappingRawElement > > & | elementsByScope, | ||
ora::MappingRawData & | dest, | ||
int & | counter | ||
) |
Definition at line 778 of file PoolDatabaseSchema.cc.
References ora::MappingRawData::addElement(), HTMLExport::elem(), and ora::MappingRawElement::scopeName.
Referenced by ora::PoolMappingSchema::getMapping().
void ora::scanElement | ( | const MappingElement & | element, |
const TableInfo & | currentTable, | ||
bool | isDependency, | ||
std::vector< std::string > & | tableHierarchy, | ||
std::map< std::string, TableInfo > & | tableMap | ||
) |
Definition at line 64 of file MappingTree.cc.
References ora::MappingElement::begin(), ora::MappingElement::Blob, ora::MappingElement::columnNames(), ora::MappingElement::elementType(), ora::MappingElement::end(), ora::TableInfo::m_idColumns, ora::TableInfo::m_tableName, ora::MappingElement::NamedReference, ora::MappingElement::OraReference, ora::MappingElement::Primitive, AlCaHLTBitMon_QueryRunRegistry::string, ora::MappingElement::tableName(), ora::MappingElement::UniqueReference, and ora::MappingElement::variableType().
Referenced by ora::MappingTree::tables().
void ora::setTableAccessPermission | ( | coral::ITable & | table, |
const std::string & | principal, | ||
bool | forWrite | ||
) |
Definition at line 14 of file IDatabaseSchema.cc.
Referenced by ora::IDatabaseTable::setAccessPermission(), and ora::ContainerSchema::setAccessPermission().
void ora::throwException | ( | const std::string & | message, |
const std::string & | methodName | ||
) |
Definition at line 10 of file Exception.cc.
References edm::hlt::Exception.
Referenced by ora::PoolDbCache::add(), ora::PoolContainerHeaderTable::addContainer(), ora::Selection::addIndexItem(), ora::MappingToSchema::alter(), ora::MappingElement::alterType(), ora::MappingElement::appendSubElement(), ora::BlobWriterBase::bindData(), ora::PrimitiveStreamerBase::bindDataForRead(), ora::OraReferenceStreamerBase::bindDataForRead(), ora::NamedReferenceStreamerBase::bindDataForRead(), ora::PrimitiveStreamerBase::bindDataForUpdate(), ora::OraReferenceStreamerBase::bindDataForUpdate(), ora::NamedReferenceStreamerBase::bindDataForUpdate(), ora::MultiIndexDataTrie::branchSize(), ora::DependentClassWriter::build(), ora::OraPtrWriter::build(), ora::CArrayWriter::build(), ora::OraPtrReadBuffer::build(), ora::UniqueRefWriter::build(), ora::STLContainerWriter::build(), ora::OraPtrUpdater::build(), ora::QVQueryMaker::build(), ora::BlobReader::build(), ora::UniqueRefReader::build(), ora::CArrayReader::build(), ora::DependentClassReader::build(), ora::STLContainerReader::build(), ora::ObjectStreamerBase::buildBaseDataMembers(), ora::OraReferenceStreamerBase::buildDataElement(), ora::PrimitiveStreamerBase::buildDataElement(), ora::BlobWriterBase::buildDataElement(), ora::InlineCArrayStreamerBase::buildDataElement(), ora::NamedReferenceStreamerBase::buildDataElement(), ora::ObjectStreamerBase::buildDataMembers(), ora::Object::cast(), checkString(), ora::Database::checkTransaction(), ora::DatabaseUtilitySession::containerHandle(), ora::Database::containerHandle(), ora::OraMainTable::create(), ora::OraSequenceTable::create(), ora::PoolMainTable::create(), ora::OraMappingVersionTable::create(), ora::PoolSequenceTable::create(), ora::OraMappingElementTable::create(), ora::PoolMappingVersionTable::create(), ora::OraContainerHeaderTable::create(), ora::PoolMappingElementTable::create(), ora::OraClassVersionTable::create(), ora::PoolContainerHeaderTable::create(), ora::PoolClassVersionTable::create(), ora::OraNamingServiceTable::create(), ora::CondMetadataTable::create(), ora::PoolDatabaseSchema::create(), ora::Database::createContainer(), ora::MappingGenerator::createNewDependentMapping(), ora::MappingGenerator::createNewMapping(), ora::MultiRecordSelectOperation::data(), ora::SelectOperation::data(), ora::PoolContainerHeaderTable::decrementNumberOfObjects(), ora::Object::destruct(), ora::DatabaseContainer::drop(), ora::DatabaseSession::drop(), ora::CondMetadataTable::drop(), ora::MappingElement::elementTypeAsString(), ora::MappingElement::elementTypeFromString(), ora::DatabaseUtilitySession::eraseMapping(), ora::ContainerSchema::evolve(), ora::QVQueryMaker::executeAndLoad(), ora::PoolSequenceTable::exists(), ora::OraDatabaseSchema::exists(), ora::PoolDatabaseSchema::exists(), ora::DatabaseContainer::fetchItemAsType(), ora::PoolDbCache::find(), ora::WriteBuffer::flush(), ora::UpdateBuffer::flush(), ora::SharedSession::get(), ora::MappingDatabase::getBaseMappingForContainer(), ora::PoolContainerHeaderTable::getContainerData(), getContainerFromSession(), ora::MappingDatabase::getDependentMappingsForContainer(), ora::IteratorBuffer::getItemAsType(), ora::PoolSequenceTable::getLastId(), ora::MappingDatabase::getMappingByVersion(), ora::MappingDatabase::getMappingForContainer(), ora::Database::getNamesForObject(), ora::Sequences::getNextId(), ora::MappingElement::idColumn(), ora::DatabaseUtilitySession::importContainerSchema(), ora::PoolContainerHeaderTable::incrementNumberOfObjects(), ora::ContainerSchema::initClassDict(), ora::PoolMappingSchema::insertClassVersion(), ora::Container::insertItem(), ora::DatabaseContainer::insertItem(), ora::STLContainerHandler::iterate(), ora::PVectorHandler::iterate(), ora::DatabaseUtility::listMappings(), ora::DatabaseUtility::listMappingVersions(), ora::Database::listObjectNames(), ora::RelationalPtrLoader::load(), ora::RelationalRefLoader::load(), ora::ContainerSchema::loadMappingForDependentClass(), ora::DatabaseContainer::lock(), ora::Database::lockContainer(), ora::MultiIndexDataTrie::lookupAndClear(), ora::ClassUtils::lookupDictionary(), ora::ContainerSchema::mapping(), ora::ContainerSchema::mappingForDependentClass(), ora::ArrayHandlerFactory::newArrayHandler(), ora::RelationalStreamerFactory::newStreamer(), ora::Database::open(), cond::parseToken(), ora::MappingElement::pkColumn(), ora::MappingElement::posColumn(), ora::OraReferenceMapping::process(), ora::UniqueReferenceMapping::process(), ora::ArrayMapping::process(), ora::CArrayMapping::process(), ora::ObjectMapping::process(), processBaseClasses(), processLeafElement(), processTableHierarchy(), ora::UniqueRef< T >::ptr(), ora::Ptr< T >::ptr(), ora::MultiIndexDataTrie::push(), ora::PVectorHandler::PVectorHandler(), ora::QueryableVector< Tp >::query(), ora::OraPtrReadBuffer::read(), ora::QueryableVectorReader::read(), ora::BlobReader::read(), ora::UniqueRefReader::read(), ora::OraPtrReader::read(), ora::CArrayReader::read(), ora::STLContainerReader::read(), ora::DependentClassReader::read(), ora::ReadBuffer::read(), ora::ReadBuffer::ReadBuffer(), ora::MappingElement::recordIdColumns(), ora::PoolContainerHeaderTable::removeContainer(), ora::NamedRef< T >::safePtr(), ora::Database::schemaVersion(), ora::OraPtrReader::select(), ora::CArrayReader::select(), ora::STLContainerReader::select(), ora::QVQueryMaker::select(), ora::QueryableVector< Tp >::select(), ora::MultiRecordSelectOperation::selectRow(), ora::PoolMappingSchema::setMappingVersion(), ora::QVQueryMaker::setQueryCondition(), ora::PoolSequenceTable::sinchronize(), ora::SpecialSTLContainerHandler::SpecialSTLContainerHandler(), ora::STLContainerHandler::STLContainerHandler(), ora::OraDatabaseSchema::testDropPermission(), ora::Database::transaction(), ora::PVectorUpdater::update(), ora::QueryableVectorUpdater::update(), ora::OraPtrUpdater::update(), ora::Container::updateItem(), ora::DatabaseContainer::updateItem(), ora::PoolContainerHeaderTable::updateNumberOfObjects(), ora::Handle< T >::validate(), ora::QueryableVectorWriter::write(), ora::CArrayWriter::write(), ora::OraPtrWriter::write(), ora::UniqueRefWriter::write(), ora::STLContainerWriter::write(), and ora::DependentClassWriter::write().
void ora::throwException | ( | const std::string & | message, |
const std::type_info & | sourceType, | ||
const std::string & | methodName | ||
) |
Definition at line 15 of file Exception.cc.
References className(), ora::ClassUtils::demangledName(), edm::hlt::Exception, and AlCaHLTBitMon_QueryRunRegistry::string.
std::string ora::uniqueRefNullLabel | ( | ) |
Definition at line 184 of file UniqueRefStreamer.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::UniqueRefWriter::write().
|
static |
Referenced by checkString().
std::string ora::variableNameFromPool | ( | const std::string & | variableName | ) |
Definition at line 736 of file PoolDatabaseSchema.cc.
Referenced by ora::PoolMappingSchema::getMapping().