A class for handling CDM database connections and operations
Methods
initialize(databaseId)Initialize a new CDM database handler
loadConnection(loadConnectionChecksLevel)Load database connection with specified check level
Active bindings
databaseIdThe ID of the database
databaseNameThe name of the database
databaseDescriptionDescription of the database
connectionHandlerHandler for database connections
vocabularyDatabaseSchemaSchema name for the vocabulary database
cdmDatabaseSchemaSchema name for the CDM database
resultsDatabaseSchemaSchema name for the results database
connectionStatusLogLog of connection status and operations
vocabularyInfoInformation about the vocabulary tables
CDMInfoInformation about the CDM structure
getTblVocabularySchemaFunction to get vocabulary schema table
getTblCDMSchemaFunction to get CDM schema table
Methods
Method new()
Returns the results database schema name.
Usage
CDMdbHandler$new(
databaseId,
databaseName,
databaseDescription,
connectionHandler,
cdmDatabaseSchema,
vocabularyDatabaseSchema = cdmDatabaseSchema,
resultsDatabaseSchema = cdmDatabaseSchema,
loadConnectionChecksLevel = "allChecks"
)Arguments
databaseIdA text id for the database the it connects to
databaseNameA text name for the database the it connects to
databaseDescriptionA text description for the database the it connects to
connectionHandlerA ConnectionHandler object
cdmDatabaseSchemaName of the CDM database schema
vocabularyDatabaseSchema(Optional) Name of the vocabulary database schema (default is cdmDatabaseSchema)
resultsDatabaseSchema(Optional) Name of the results database schema (default is cdmDatabaseSchema)
loadConnectionChecksLevel(Optional) Level of checks to perform when loading the connection (default is "allChecks") Reload connection
Method loadConnection()
Updates the connection status by checking the database connection, vocabulary database schema, and CDM database schema.