public abstract class AbstractBaselineCallback
extends org.springframework.cloud.dataflow.common.flyway.AbstractCallback
Constructor and Description |
---|
AbstractBaselineCallback(AbstractInitialSetupMigration initialSetupMigration)
Instantiates a new abstract baseline callback.
|
Modifier and Type | Method and Description |
---|---|
abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
changeAppRegistrationTable()
Change app registration table.
|
abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
changeAuditRecordsTable()
Change audit records table.
|
abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
changeStreamDefinitionsTable()
Change stream definitions table.
|
abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
changeTaskDefinitionsTable()
Change task definitions table.
|
abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
changeUriRegistryTable()
Change uri registry table.
|
abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
createIndexes()
Creates the indexes.
|
abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
createTaskDeploymentTable()
Create the task deployment table.
|
abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
createTaskLockTable()
Creates the task lock table.
|
protected boolean |
doTableExists(org.flywaydb.core.api.callback.Context context,
String name) |
abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
dropIndexes()
Drop indexes.
|
List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
getCommands(org.flywaydb.core.api.callback.Event event,
org.flywaydb.core.api.callback.Context context) |
public AbstractBaselineCallback(AbstractInitialSetupMigration initialSetupMigration)
initialSetupMigration
- the initial setup migrationpublic List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> getCommands(org.flywaydb.core.api.callback.Event event, org.flywaydb.core.api.callback.Context context)
getCommands
in class org.springframework.cloud.dataflow.common.flyway.AbstractCallback
protected boolean doTableExists(org.flywaydb.core.api.callback.Context context, String name)
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> dropIndexes()
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> changeAppRegistrationTable()
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> changeUriRegistryTable()
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> changeStreamDefinitionsTable()
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> changeTaskDefinitionsTable()
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> changeAuditRecordsTable()
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> createIndexes()
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> createTaskLockTable()
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> createTaskDeploymentTable()
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.