com.atlassian.confluence.upgrade.ddl
Interface DdlExecutor
- All Known Implementing Classes:
- HibernateDdlExecutor
public interface DdlExecutor
Executes any set of DdlCommand
s thrown its way.
- Since:
- 4.0
createCreateIndexCommand
CreateIndexCommand createCreateIndexCommand(String indexName,
String tableName,
String... columnNames)
createUniqueConstraintWithMultipleNullsCommand
CreateUniqueConstraintWithMultipleNullsCommand createUniqueConstraintWithMultipleNullsCommand(String constraintName,
String tableName,
String columnName)
- Since:
- 5.3
createDropIndexCommand
DropIndexCommand createDropIndexCommand(String indexName,
String tableName)
createDropTableCommand
DropTableCommand createDropTableCommand(String tableName)
createRenameTableCommand
RenameTableCommand createRenameTableCommand(String oldTableName,
String newTableName)
- Since:
- 5.7
executeDdl
void executeDdl(List<? extends DdlCommand> commands)
- Perform 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
void executeDdlStatements(List<String> statements)
getDdlStatements
List<String> getDdlStatements(List<? extends DdlCommand> commands)
Copyright © 2003–2015 Atlassian. All rights reserved.