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 450 of file lumidbDDL.py.
def lumidbDDL.createIndices | ( | schema | ) |
Definition at line 435 of file lumidbDDL.py.
def lumidbDDL.createNULLConstraints | ( | schema | ) |
Definition at line 458 of file lumidbDDL.py.
def lumidbDDL.createOldSchema | ( | schema | ) |
create tables of lumidb1 if not exist
Definition at line 237 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 9 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(), edm.print(), nameDealer.revisionTableName(), nameDealer.trgdataTableName(), and nameDealer.trghltMapTableName().
Referenced by lumidb2Schema.createLumi(), and oldToNew().
def lumidbDDL.createUniqueConstraints | ( | schema | ) |
Definition at line 470 of file lumidbDDL.py.
def lumidbDDL.describe | ( | schema | ) |
Definition at line 483 of file lumidbDDL.py.
def lumidbDDL.describeIndices | ( | schema | ) |
Definition at line 446 of file lumidbDDL.py.
def lumidbDDL.dropFKConstrains | ( | schema | ) |
Definition at line 454 of file lumidbDDL.py.
def lumidbDDL.dropIndices | ( | schema | ) |
Definition at line 442 of file lumidbDDL.py.
def lumidbDDL.dropNULLConstraints | ( | schema | ) |
Definition at line 465 of file lumidbDDL.py.
def lumidbDDL.dropTables | ( | schema, | |
tablelist | |||
) |
Definition at line 223 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 478 of file lumidbDDL.py.
def lumidbDDL.newToOld | ( | schema | ) |
Definition at line 414 of file lumidbDDL.py.
References nameDealer.cmsrunsummaryTableName(), dropTables(), and dataset.name.
Referenced by PFCandidateMuonUntagger.produce(), PrimaryVertexSorter< ParticlesCollection >.produce(), and PFCandidateRecalibrator.produce().
def lumidbDDL.oldToNew | ( | schema | ) |
modify old tables:cmsrunsummary alter table cmsrunsummary add column(l1key string,egev unsigned int,amodetag string)
Definition at line 400 of file lumidbDDL.py.
References nameDealer.cmsrunsummaryTableName(), and createTables().
Referenced by PFCandidateMuonUntagger.produce(), PrimaryVertexSorter< ParticlesCollection >.produce(), and PFCandidateRecalibrator.produce().
lumidbDDL.authpath |
Definition at line 491 of file lumidbDDL.py.
lumidbDDL.cpp2sqltype |
Definition at line 494 of file lumidbDDL.py.
lumidbDDL.debugON |
Definition at line 493 of file lumidbDDL.py.
lumidbDDL.False |
Definition at line 494 of file lumidbDDL.py.
lumidbDDL.isReadOnly |
Definition at line 494 of file lumidbDDL.py.
lumidbDDL.myconstr |
Definition at line 490 of file lumidbDDL.py.
lumidbDDL.schema |
Definition at line 495 of file lumidbDDL.py.
lumidbDDL.session |
Definition at line 494 of file lumidbDDL.py.
lumidbDDL.svc |
Definition at line 493 of file lumidbDDL.py.
lumidbDDL.tables |
Definition at line 497 of file lumidbDDL.py.