public class ReorganizeTableGeneratorDB2 extends AbstractSqlGenerator<ReorganizeTableStatement>
PRIORITY_DATABASE, PRIORITY_DEFAULTCOMPARATOR| Constructor and Description |
|---|
ReorganizeTableGeneratorDB2() |
| Modifier and Type | Method and Description |
|---|---|
Sql[] |
generateSql(ReorganizeTableStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Generate the actual Sql for the given statement and database.
|
protected Relation |
getAffectedTable(ReorganizeTableStatement statement) |
int |
getPriority()
Of all the SqlGenerators that "support" a given SqlStatement/Database, SqlGeneratorFactory will return the one with the highest priority.
|
boolean |
supports(ReorganizeTableStatement statement,
Database database)
Does this generator support the given statement/database combination? Do not validate the statement with this method, only return if it can suppot it.
|
ValidationErrors |
validate(ReorganizeTableStatement reorganizeTableStatement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Validate the data contained in the SqlStatement.
|
generateRollbackStatementsIsVolatile, generateStatementsIsVolatile, looksLikeFunctionCall, warnpublic int getPriority()
SqlGeneratorgetPriority in interface PrioritizedServicegetPriority in interface SqlGenerator<ReorganizeTableStatement>getPriority in class AbstractSqlGenerator<ReorganizeTableStatement>public boolean supports(ReorganizeTableStatement statement, Database database)
SqlGeneratorsupports in interface SqlGenerator<ReorganizeTableStatement>supports in class AbstractSqlGenerator<ReorganizeTableStatement>public ValidationErrors validate(ReorganizeTableStatement reorganizeTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGeneratorpublic Sql[] generateSql(ReorganizeTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGeneratorprotected Relation getAffectedTable(ReorganizeTableStatement statement)
Copyright © 2018 Liquibase.org. All rights reserved.