Classes | |
class | _Col |
class | BoostRunMap |
class | Connection |
class | DbRef |
class | GlobalTag |
class | GlobalTagMap |
class | IOV |
class | Payload |
class | RunInfo |
class | Synchronization |
class | Tag |
class | TagAuthorization |
class | TagLog |
class | TagMetadata |
class | TimeType |
Functions | |
def | _exists (session, primary_key, value) |
def | _getCMSFrontierConnectionString (database) |
def | _getCMSSQLAlchemyConnectionString (technology, service, schema_name) |
def | _inserted_before (timestamp) |
def | connect (url, authPath=None, verbose=0, as_admin=False) |
def | fq_col (schema, table, column) |
def | fq_name (schema_name, table_name) |
def | getPayload (session, hash) |
def | getSchema (tp) |
def | getSessionOnMasterDB (session1, session2) |
def | hash (data) |
def | listObject (session, name, snapshot=None) |
def | make_dbtype (backendName, schemaName, baseType) |
def | make_url (database='pro', read_only=True) |
def | oracle_connection_string (db_service, db_schema) |
CMS Conditions DB Python library.
|
private |
Definition at line 609 of file conddblib.py.
References submitPVResolutionJobs.count, and ALCARECOTkAlBeamHalo_cff.filter.
Referenced by listObject().
|
private |
Definition at line 470 of file conddblib.py.
References communicate(), and digitizers_cfi.strip.
Referenced by _getCMSSQLAlchemyConnectionString().
|
private |
Definition at line 474 of file conddblib.py.
References _getCMSFrontierConnectionString().
Referenced by make_url().
|
private |
To be used inside filter().
Definition at line 620 of file conddblib.py.
Referenced by listObject().
Returns a Connection instance to the CMS Condition DB. See database_help for the description of the database parameter. The verbosity level is as follows: 0 = No output (default). 1 = SQL statements issued, including their parameters. 2 = In addition, results of the queries (all rows and the column headers).
Definition at line 533 of file conddblib.py.
References oracle_connection_string(), and str.
Referenced by helperFunctions.getTagsMap(), and conddblib.Connection.is_valid().
def conddblib.fq_col | ( | schema, | |
table, | |||
column | |||
) |
def conddblib.fq_name | ( | schema_name, | |
table_name | |||
) |
Definition at line 166 of file conddblib.py.
def conddblib.getPayload | ( | session, | |
hash | |||
) |
Definition at line 672 of file conddblib.py.
References ALCARECOTkAlBeamHalo_cff.filter.
def conddblib.getSchema | ( | tp | ) |
def conddblib.getSessionOnMasterDB | ( | session1, | |
session2 | |||
) |
Definition at line 448 of file conddblib.py.
References make_url().
def conddblib.hash | ( | data | ) |
Definition at line 52 of file conddblib.py.
def conddblib.listObject | ( | session, | |
name, | |||
snapshot = None |
|||
) |
Definition at line 633 of file conddblib.py.
References _exists(), _inserted_before(), python.cmstools.all(), ALCARECOTkAlBeamHalo_cff.filter, join(), and hitfit.scalar().
def conddblib.make_dbtype | ( | backendName, | |
schemaName, | |||
baseType | |||
) |
Definition at line 190 of file conddblib.py.
References fq_col().
Referenced by conddblib.Connection.get_dbtype().
def conddblib.make_url | ( | database = 'pro' , |
|
read_only = True |
|||
) |
Definition at line 487 of file conddblib.py.
References _getCMSSQLAlchemyConnectionString().
Referenced by getSessionOnMasterDB(), and helperFunctions.getTagsMap().
def conddblib.oracle_connection_string | ( | db_service, | |
db_schema | |||
) |
Definition at line 139 of file conddblib.py.
Referenced by connect().