Public Member Functions | |
def | __init__ (self, url) |
def | get_dbtype (self, theType) |
def | init (self, drop=False) |
def | is_frontier (self) |
def | is_official (self) |
def | is_oracle (self) |
def | is_read_only (self) |
def | is_sqlite (self) |
def | is_valid (self) |
def | metadata (self) |
def | session (self) |
Public Attributes | |
engine | |
Private Attributes | |
_backendName | |
_is_frontier | |
_is_official | |
_is_oracle | |
_is_read_only | |
_is_sqlite | |
_is_valid | |
_schemaName | |
_session | |
_url | |
Definition at line 332 of file conddblib.py.
def conddblib.Connection.__init__ | ( | self, | |
url | |||
) |
Definition at line 334 of file conddblib.py.
def conddblib.Connection.get_dbtype | ( | self, | |
theType | |||
) |
Definition at line 389 of file conddblib.py.
References conddblib.Connection._backendName, conddblib.Connection._schemaName, relativeConstraints.keys, and conddblib.make_dbtype().
Referenced by conddblib.Connection.init(), conddblib.Connection.is_valid(), and conddblib.Connection.session().
Initializes a database.
Definition at line 440 of file conddblib.py.
References conddblib.Connection._is_valid, querying.connection.engine, conddblib.Connection.engine, and conddblib.Connection.get_dbtype().
def conddblib.Connection.is_frontier | ( | self | ) |
def conddblib.Connection.is_official | ( | self | ) |
def conddblib.Connection.is_oracle | ( | self | ) |
Definition at line 413 of file conddblib.py.
References conddblib.Connection._is_oracle.
Referenced by conddblib.Connection.session().
def conddblib.Connection.is_read_only | ( | self | ) |
def conddblib.Connection.is_sqlite | ( | self | ) |
def conddblib.Connection.is_valid | ( | self | ) |
Tests whether the current DB looks like a valid CMS Conditions one.
Definition at line 428 of file conddblib.py.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), conddblib.Connection.get_dbtype(), and conddblib.getSchema().
def conddblib.Connection.metadata | ( | self | ) |
Definition at line 405 of file conddblib.py.
def conddblib.Connection.session | ( | self | ) |
Definition at line 396 of file conddblib.py.
References conddblib.Connection._is_sqlite, conddblib.Connection._session, url_query.url_query._url, conddblib.Connection._url, conddblib.Connection.get_dbtype(), and conddblib.Connection.is_oracle().
|
private |
Definition at line 373 of file conddblib.py.
Referenced by conddblib.Connection.get_dbtype().
|
private |
Definition at line 355 of file conddblib.py.
Referenced by conddblib.Connection.is_frontier().
|
private |
Definition at line 364 of file conddblib.py.
Referenced by conddblib.Connection.is_official().
|
private |
Definition at line 356 of file conddblib.py.
Referenced by conddblib.Connection.is_oracle().
|
private |
Definition at line 359 of file conddblib.py.
Referenced by conddblib.Connection.is_read_only().
|
private |
Definition at line 357 of file conddblib.py.
Referenced by conddblib.Connection.is_sqlite(), and conddblib.Connection.session().
|
private |
Definition at line 387 of file conddblib.py.
Referenced by conddblib.Connection.init().
|
private |
Definition at line 374 of file conddblib.py.
Referenced by conddblib.Connection.get_dbtype().
|
private |
Definition at line 353 of file conddblib.py.
Referenced by conddblib.Connection.session().
|
private |
Definition at line 372 of file conddblib.py.
Referenced by cmstc.TagCollector._open(), and conddblib.Connection.session().
conddblib.Connection.engine |
Definition at line 341 of file conddblib.py.
Referenced by o2o_db_manager.DbManager.connect(), and conddblib.Connection.init().