Functions | |
def | createFKConstraints (schema) |
def | createIndices (schema) |
def | createNULLConstraints (schema) |
def | createOldSchema (schema) |
def | createTables (schema) |
def | createUniqueConstraints (schema) |
def | describe (schema) |
def | describeIndices (schema) |
def | dropFKConstrains (schema) |
def | dropIndices (schema) |
def | dropNULLConstraints (schema) |
def | dropTables (schema, tablelist) |
def | dropUNIQUEConstraints (schema) |
def | newToOld (schema) |
def | oldToNew (schema) |
Variables | |
authpath | |
cpp2sqltype | |
debugON | |
False | |
isReadOnly | |
myconstr | |
schema | |
session | |
svc | |
tables | |
def lumidbDDL.createFKConstraints | ( | schema | ) |
Definition at line 449 of file lumidbDDL.py.
def lumidbDDL.createIndices | ( | schema | ) |
Definition at line 434 of file lumidbDDL.py.
def lumidbDDL.createNULLConstraints | ( | schema | ) |
Definition at line 457 of file lumidbDDL.py.
def lumidbDDL.createOldSchema | ( | schema | ) |
create tables of lumidb1 if not exist
Definition at line 236 of file lumidbDDL.py.
References nameDealer.cmsrunsummaryTableName(), nameDealer.hltTableName(), nameDealer.lumidetailTableName(), nameDealer.lumisummaryTableName(), nameDealer.lumivalidationTableName(), nameDealer.trghltMapTableName(), and nameDealer.trgTableName().
def lumidbDDL.createTables | ( | schema | ) |
create new tables if not exist revisions,revisions_id,luminorms,luminorms_entries,luminorms_entries_id,fillscheme
Definition at line 8 of file lumidbDDL.py.
References nameDealer.cmsrunsummaryTableName(), nameDealer.fillschemeTableName(), nameDealer.hltdataTableName(), nameDealer.hltTableName(), nameDealer.lshltTableName(), nameDealer.lstrgTableName(), nameDealer.lumidataTableName(), nameDealer.luminormTableName(), nameDealer.lumisummaryv2TableName(), nameDealer.lumivalidationTableName(), nameDealer.revisionTableName(), nameDealer.trgdataTableName(), and nameDealer.trghltMapTableName().
Referenced by lumidb2Schema.createLumi(), and oldToNew().
def lumidbDDL.createUniqueConstraints | ( | schema | ) |
Definition at line 469 of file lumidbDDL.py.
def lumidbDDL.describe | ( | schema | ) |
Definition at line 482 of file lumidbDDL.py.
def lumidbDDL.describeIndices | ( | schema | ) |
Definition at line 445 of file lumidbDDL.py.
def lumidbDDL.dropFKConstrains | ( | schema | ) |
Definition at line 453 of file lumidbDDL.py.
def lumidbDDL.dropIndices | ( | schema | ) |
Definition at line 441 of file lumidbDDL.py.
def lumidbDDL.dropNULLConstraints | ( | schema | ) |
Definition at line 464 of file lumidbDDL.py.
def lumidbDDL.dropTables | ( | schema, | |
tablelist | |||
) |
Definition at line 222 of file lumidbDDL.py.
References nameDealer.entryTableName(), nameDealer.hltdataTableName(), nameDealer.hltTableName(), nameDealer.idTableName(), nameDealer.lumidataTableName(), nameDealer.lumidetailTableName(), nameDealer.luminormTableName(), nameDealer.lumisummaryTableName(), nameDealer.lumisummaryv2TableName(), nameDealer.revmapTableName(), nameDealer.trgdataTableName(), and nameDealer.trgTableName().
Referenced by lumidb2Schema.dropLumi(), and newToOld().
def lumidbDDL.dropUNIQUEConstraints | ( | schema | ) |
Definition at line 477 of file lumidbDDL.py.
def lumidbDDL.newToOld | ( | schema | ) |
Definition at line 413 of file lumidbDDL.py.
References nameDealer.cmsrunsummaryTableName(), dropTables(), and dataset.name.
Referenced by PrimaryVertexSorter< ParticlesCollection >.produce().
def lumidbDDL.oldToNew | ( | schema | ) |
modify old tables:cmsrunsummary alter table cmsrunsummary add column(l1key string,egev unsigned int,amodetag string)
Definition at line 399 of file lumidbDDL.py.
References nameDealer.cmsrunsummaryTableName(), and createTables().
Referenced by PrimaryVertexSorter< ParticlesCollection >.produce().
lumidbDDL.authpath |
Definition at line 490 of file lumidbDDL.py.
lumidbDDL.cpp2sqltype |
Definition at line 493 of file lumidbDDL.py.
lumidbDDL.debugON |
Definition at line 492 of file lumidbDDL.py.
lumidbDDL.False |
Definition at line 493 of file lumidbDDL.py.
lumidbDDL.isReadOnly |
Definition at line 493 of file lumidbDDL.py.
lumidbDDL.myconstr |
Definition at line 489 of file lumidbDDL.py.
lumidbDDL.schema |
Definition at line 494 of file lumidbDDL.py.
lumidbDDL.session |
Definition at line 493 of file lumidbDDL.py.
lumidbDDL.svc |
Definition at line 492 of file lumidbDDL.py.
lumidbDDL.tables |
Definition at line 496 of file lumidbDDL.py.