Interface SqlDatabaseController
-
- All Superinterfaces:
DatabaseController<SqlDatabaseClient>
- All Known Implementing Classes:
OcpDB2Controller,OcpSqlDatabaseController,OcpSqlServerController
public interface SqlDatabaseController extends DatabaseController<SqlDatabaseClient>
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOGGER
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SqlDatabaseClientgetDatabaseClient(String username, String password)Creates database client for database using given username and passwordStringgetDatabaseType()default StringgetDatabaseUrl()-
Methods inherited from interface io.debezium.testing.openshift.tools.databases.DatabaseController
getDatabaseHostname, getDatabasePort, initialize, reload
-
-
-
-
Method Detail
-
getDatabaseType
String getDatabaseType()
- Returns:
- jdbc vendor connection type
-
getDatabaseUrl
default String getDatabaseUrl()
- Specified by:
getDatabaseUrlin interfaceDatabaseController<SqlDatabaseClient>- Returns:
- connection url of the database
-
getDatabaseClient
default SqlDatabaseClient getDatabaseClient(String username, String password)
Description copied from interface:DatabaseControllerCreates database client for database using given username and password- Specified by:
getDatabaseClientin interfaceDatabaseController<SqlDatabaseClient>- Parameters:
username- usernamepassword- password- Returns:
- database client
-
-