public interface AlterTableExecutor
Modifier and Type | Method and Description |
---|---|
void |
alterTable(String tableName,
List<? extends AlterTableCommand> commands)
Perform a set of table altering actions on a given table.
|
AddUniqueConstraintCommand |
createAddUniqueConstraintCommand(String constraintName,
String... columnNames) |
AlterColumnNullabilityCommand |
createAlterColumnNullChoiceCommand(String columnName,
String oldDataType,
NullChoice nullChoice) |
DropUniqueConstraintCommand |
createDropUniqueConstraintCommand(String constraintName) |
List<String> |
getAlterTableStatements(String tableName,
List<? extends AlterTableCommand> commands) |
AlterColumnNullabilityCommand createAlterColumnNullChoiceCommand(String columnName, String oldDataType, NullChoice nullChoice)
AddUniqueConstraintCommand createAddUniqueConstraintCommand(String constraintName, String... columnNames)
DropUniqueConstraintCommand createDropUniqueConstraintCommand(String constraintName)
void alterTable(String tableName, List<? extends AlterTableCommand> commands)
tableName
- Name of the table to altercommands
- A collection of alter table actions to performList<String> getAlterTableStatements(String tableName, List<? extends AlterTableCommand> commands)
Copyright © 2003–2015 Atlassian. All rights reserved.