public abstract class AbstractSQLDatabase extends AbstractDatabase implements SQLExecutor
configureEnvironment, dbName, external, isObjectStore, jndiName, nonXaDatasource, openShiftName, password, symbolicName, username, withLivenessProbe, withReadinessProbe, withStartupProbedataDir, isStateful, persistentVolClaim, storagePartition| Constructor and Description |
|---|
AbstractSQLDatabase(String symbolicName,
String dataDir) |
AbstractSQLDatabase(String symbolicName,
String dataDir,
boolean withLivenessProbe,
boolean withReadinessProbe) |
AbstractSQLDatabase(String symbolicName,
String dataDir,
boolean withLivenessProbe,
boolean withReadinessProbe,
boolean configureEnvironment) |
AbstractSQLDatabase(String symbolicName,
String dataDir,
boolean withLivenessProbe,
boolean withReadinessProbe,
boolean withStartupProbe,
boolean configureEnvironment) |
AbstractSQLDatabase(String symbolicName,
String dataDir,
PersistentVolumeClaim pvc) |
AbstractSQLDatabase(String symbolicName,
String dataDir,
PersistentVolumeClaim pvc,
boolean withLivenessProbe,
boolean withReadinessProbe) |
AbstractSQLDatabase(String symbolicName,
String dataDir,
PersistentVolumeClaim pvc,
boolean withLivenessProbe,
boolean withReadinessProbe,
boolean withStartupProbe) |
AbstractSQLDatabase(String symbolicName,
String dataDir,
PersistentVolumeClaim pvc,
String username,
String password,
String dbName,
boolean configureEnvironment,
boolean withLivenessProbe,
boolean withReadinessProbe,
boolean withStartupProbe,
String deploymentConfigName,
String envVarPrefix) |
AbstractSQLDatabase(String username,
String password,
String dbName,
String symbolicName,
String dataDir) |
AbstractSQLDatabase(String username,
String password,
String dbName,
String symbolicName,
String dataDir,
boolean withLivenessProbe,
boolean withReadinessProbe) |
AbstractSQLDatabase(String username,
String password,
String dbName,
String symbolicName,
String dataDir,
boolean withLivenessProbe,
boolean withReadinessProbe,
boolean configureEnvironment) |
AbstractSQLDatabase(String username,
String password,
String dbName,
String symbolicName,
String dataDir,
boolean withLivenessProbe,
boolean withReadinessProbe,
boolean withStartupProbe,
boolean configureEnvironment) |
AbstractSQLDatabase(String username,
String password,
String dbName,
String symbolicName,
String dataDir,
PersistentVolumeClaim pvc) |
AbstractSQLDatabase(String username,
String password,
String dbName,
String symbolicName,
String dataDir,
PersistentVolumeClaim pvc,
boolean withLivenessProbe,
boolean withReadinessProbe) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureContainer(ContainerBuilder containerBuilder) |
void |
executeSQL(Consumer<Connection> execute) |
void |
executeSQLFile(String resourceName) |
protected abstract String |
getJDBCConnectionStringPattern() |
protected ProbeSettings |
getProbeSettings()
Get readiness and liveness probes settings.
|
SQLExecutor |
getSQLExecutor(String hostname,
int port) |
asObjectStore, configureApplicationDeployment, configureDeployment, configureDeployment, configureEnvironment, configureService, external, getDbName, getDeploymentConfigName, getEnvVarPrefix, getImageArgs, getImageName, getImageVariables, getPassword, getPort, getServiceAccount, getSymbolicName, getUsername, isObjectStore, jndiName, nonXaDatasource, setDeploymentConfigName, setEnvVarPrefix, toString, withProbesstatefulpublic AbstractSQLDatabase(String symbolicName, String dataDir, PersistentVolumeClaim pvc, String username, String password, String dbName, boolean configureEnvironment, boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe, String deploymentConfigName, String envVarPrefix)
public AbstractSQLDatabase(String symbolicName, String dataDir, boolean withLivenessProbe, boolean withReadinessProbe)
public AbstractSQLDatabase(String symbolicName, String dataDir, boolean withLivenessProbe, boolean withReadinessProbe, boolean configureEnvironment)
public AbstractSQLDatabase(String symbolicName, String dataDir, boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe, boolean configureEnvironment)
public AbstractSQLDatabase(String username, String password, String dbName, String symbolicName, String dataDir, boolean withLivenessProbe, boolean withReadinessProbe)
public AbstractSQLDatabase(String username, String password, String dbName, String symbolicName, String dataDir, boolean withLivenessProbe, boolean withReadinessProbe, boolean configureEnvironment)
public AbstractSQLDatabase(String username, String password, String dbName, String symbolicName, String dataDir, boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe, boolean configureEnvironment)
public AbstractSQLDatabase(String symbolicName, String dataDir, PersistentVolumeClaim pvc, boolean withLivenessProbe, boolean withReadinessProbe)
public AbstractSQLDatabase(String symbolicName, String dataDir, PersistentVolumeClaim pvc, boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe)
public AbstractSQLDatabase(String symbolicName, String dataDir, PersistentVolumeClaim pvc)
public AbstractSQLDatabase(String username, String password, String dbName, String symbolicName, String dataDir, PersistentVolumeClaim pvc)
public AbstractSQLDatabase(String username, String password, String dbName, String symbolicName, String dataDir)
public void executeSQL(Consumer<Connection> execute)
executeSQL in interface SQLExecutorpublic void executeSQLFile(String resourceName)
executeSQLFile in interface SQLExecutorpublic SQLExecutor getSQLExecutor(String hostname, int port)
protected void configureContainer(ContainerBuilder containerBuilder)
configureContainer in class AbstractDatabaseprotected ProbeSettings getProbeSettings()
protected abstract String getJDBCConnectionStringPattern()
Copyright © 2025. All rights reserved.