Manages execution options and database connection configurations for study pipeline. Coordinates multiple database connections and stores execution environment settings.
Details
ExecOptions serves as the configuration hub for study execution, managing database connections through DbConfigBlock objects and maintaining DBMS specifications. Used within UlyssesStudy to configure the execution environment.
Active bindings
dbmsDatabase management system type (e.g., "postgresql", "sql-server"). Can be read or set with validation.
workDatabaseSchemaSchema for working and staging tables. Can be read or set with validation.
tempEmulationSchemaSchema for temporary table emulation across different DBMS platforms. Can be read or set with validation.
dbConnectionBlocksList of DbConfigBlock objects managing multiple database connections. Can be read or set with class validation.
Methods
Method new()
Initialize a new ExecOptions instance with execution configuration.
Usage
ExecOptions$new(
dbms = NULL,
workDatabaseSchema = NULL,
tempEmulationSchema = NULL,
dbConnectionBlocks = NULL
)Arguments
dbmsCharacter string. Optional DBMS type (e.g., "postgresql", "sql-server").
workDatabaseSchemaCharacter string. Optional schema for working tables.
tempEmulationSchemaCharacter string. Optional schema for temp table emulation.
dbConnectionBlocksList of DbConfigBlock objects. Optional database configurations.
Method makeConfigFile()
Generate and write the configuration file for the study repository.