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)
createDropIndexCommand
DropIndexCommand createDropIndexCommand(String indexName,
String tableName)
createDropTableCommand
DropTableCommand createDropTableCommand(String tableName)
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-2013 Atlassian. All Rights Reserved.