public class ReorganizeTableGeneratorDB2 extends AbstractSqlGenerator<ReorganizeTableStatement>
EMPTY_SQL, PRIORITY_DATABASE, PRIORITY_DEFAULT
COMPARATOR
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 support it.
|
ValidationErrors |
validate(ReorganizeTableStatement reorganizeTableStatement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Validate the data contained in the SqlStatement.
|
generateRollbackStatementsIsVolatile, generateStatementsIsVolatile, looksLikeFunctionCall, warn
public int getPriority()
SqlGenerator
getPriority
in interface PrioritizedService
getPriority
in interface SqlGenerator<ReorganizeTableStatement>
getPriority
in class AbstractSqlGenerator<ReorganizeTableStatement>
public boolean supports(ReorganizeTableStatement statement, Database database)
SqlGenerator
supports
in interface SqlGenerator<ReorganizeTableStatement>
supports
in class AbstractSqlGenerator<ReorganizeTableStatement>
public ValidationErrors validate(ReorganizeTableStatement reorganizeTableStatement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGenerator
public Sql[] generateSql(ReorganizeTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGenerator
protected Relation getAffectedTable(ReorganizeTableStatement statement)
Copyright © 2023 Liquibase.org. All rights reserved.