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 452 of file lumidbDDL.py.
def lumidbDDL.createIndices | ( | schema | ) |
Definition at line 437 of file lumidbDDL.py.
def lumidbDDL.createNULLConstraints | ( | schema | ) |
Definition at line 460 of file lumidbDDL.py.
def lumidbDDL.createOldSchema | ( | schema | ) |
create tables of lumidb1 if not exist
Definition at line 239 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 11 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 472 of file lumidbDDL.py.
def lumidbDDL.describe | ( | schema | ) |
Definition at line 485 of file lumidbDDL.py.
def lumidbDDL.describeIndices | ( | schema | ) |
Definition at line 448 of file lumidbDDL.py.
def lumidbDDL.dropFKConstrains | ( | schema | ) |
Definition at line 456 of file lumidbDDL.py.
def lumidbDDL.dropIndices | ( | schema | ) |
Definition at line 444 of file lumidbDDL.py.
def lumidbDDL.dropNULLConstraints | ( | schema | ) |
Definition at line 467 of file lumidbDDL.py.
def lumidbDDL.dropTables | ( | schema, | |
tablelist | |||
) |
Definition at line 225 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 480 of file lumidbDDL.py.
def lumidbDDL.newToOld | ( | schema | ) |
Definition at line 416 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 402 of file lumidbDDL.py.
References nameDealer.cmsrunsummaryTableName(), and createTables().
Referenced by PFCandidateMuonUntagger.produce(), PrimaryVertexSorter< ParticlesCollection >.produce(), and PFCandidateRecalibrator.produce().
lumidbDDL.authpath |
Definition at line 493 of file lumidbDDL.py.
lumidbDDL.cpp2sqltype |
Definition at line 496 of file lumidbDDL.py.
lumidbDDL.debugON |
Definition at line 495 of file lumidbDDL.py.
lumidbDDL.False |
Definition at line 496 of file lumidbDDL.py.
lumidbDDL.isReadOnly |
Definition at line 496 of file lumidbDDL.py.
lumidbDDL.myconstr |
Definition at line 492 of file lumidbDDL.py.
lumidbDDL.schema |
Definition at line 497 of file lumidbDDL.py.
lumidbDDL.session |
Definition at line 496 of file lumidbDDL.py.
lumidbDDL.svc |
Definition at line 495 of file lumidbDDL.py.
lumidbDDL.tables |
Definition at line 499 of file lumidbDDL.py.