Interface DdlExecutor
- All Known Implementing Classes:
- HibernateDdlExecutor
public interface DdlExecutor
Executes any set of 
DdlCommands thrown its way.- Since:
- 4.0
- 
Method SummaryModifier and TypeMethodDescriptioncreateCreateIndexCommand(String indexName, String tableName, boolean isUnique, String... columnNames) createCreateIndexCommand(String indexName, String tableName, String... columnNames) createDropIndexCommand(String indexName, String tableName) createDropTableCommand(String tableName) createDropTableIfExistsCommand(String tableName) createRenameTableCommand(String oldTableName, String newTableName) createUniqueConstraintWithMultipleNullsCommand(String constraintName, String tableName, String columnName) voidexecuteDdl(List<? extends DdlCommand> commands) Perform a set of data definition altering actions.voidexecuteDdlStatements(List<String> statements) getDdlStatements(List<? extends DdlCommand> commands) 
- 
Method Details- 
createCreateIndexCommandCreateIndexCommand createCreateIndexCommand(String indexName, String tableName, String... columnNames) 
- 
createCreateIndexCommandCreateIndexCommand createCreateIndexCommand(String indexName, String tableName, boolean isUnique, String... columnNames) 
- 
createUniqueConstraintWithMultipleNullsCommandCreateUniqueConstraintWithMultipleNullsCommand createUniqueConstraintWithMultipleNullsCommand(String constraintName, String tableName, String columnName) - Since:
- 5.3
 
- 
createDropIndexCommand
- 
createDropTableCommand
- 
createDropTableIfExistsCommand
- 
createRenameTableCommand- Since:
- 5.7
 
- 
executeDdlPerform a set of data definition altering actions. Each action is executed as a separate statement.- Parameters:
- commands- A collection of ddl commands to perform
 
- 
executeDdlStatements
- 
getDdlStatements
 
-