connectKSLDatabase

fun connectKSLDatabase(clearDataOption: Boolean = false, dBProperties: Properties): KSLDatabase

Creates a reference to a KSLDatabase. This method assumes that the data source has an existing properly configured KSL schema. If it does not, an exception occurs. If it has one the data from previous simulation runs will be deleted if the clear data option is true. The deletion occurs immediately if configured as true.

Return

a reference to a KSLDatabase

Parameters

clearDataOption

whether the data will be cleared of prior experiments when created

dBProperties

appropriately configured HikariCP datasource properties