public interface DdlExecutor
DdlCommand
s thrown its way.Modifier and Type | Method and Description |
---|---|
CreateIndexCommand |
createCreateIndexCommand(String indexName,
String tableName,
boolean isUnique,
String... columnNames) |
CreateIndexCommand |
createCreateIndexCommand(String indexName,
String tableName,
String... columnNames) |
DropIndexCommand |
createDropIndexCommand(String indexName,
String tableName) |
DropTableCommand |
createDropTableCommand(String tableName) |
RenameTableCommand |
createRenameTableCommand(String oldTableName,
String newTableName) |
CreateUniqueConstraintWithMultipleNullsCommand |
createUniqueConstraintWithMultipleNullsCommand(String constraintName,
String tableName,
String columnName) |
void |
executeDdl(List<? extends DdlCommand> commands)
Perform a set of data definition altering actions.
|
void |
executeDdlStatements(List<String> statements) |
List<String> |
getDdlStatements(List<? extends DdlCommand> commands) |
CreateIndexCommand createCreateIndexCommand(String indexName, String tableName, String... columnNames)
CreateIndexCommand createCreateIndexCommand(String indexName, String tableName, boolean isUnique, String... columnNames)
CreateUniqueConstraintWithMultipleNullsCommand createUniqueConstraintWithMultipleNullsCommand(String constraintName, String tableName, String columnName)
DropIndexCommand createDropIndexCommand(String indexName, String tableName)
DropTableCommand createDropTableCommand(String tableName)
RenameTableCommand createRenameTableCommand(String oldTableName, String newTableName)
void executeDdl(List<? extends DdlCommand> commands)
commands
- A collection of ddl commands to performList<String> getDdlStatements(List<? extends DdlCommand> commands)
Copyright © 2003–2021 Atlassian. All rights reserved.