public class RenameTableGeneratorSnowflake extends RenameTableGenerator
EMPTY_SQL, PRIORITY_DATABASE, PRIORITY_DEFAULT
COMPARATOR
Constructor and Description |
---|
RenameTableGeneratorSnowflake() |
Modifier and Type | Method and Description |
---|---|
Sql[] |
generateSql(RenameTableStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Generate the actual Sql for the given statement and database.
|
int |
getPriority()
Of all the SqlGenerators that "support" a given SqlStatement/Database, SqlGeneratorFactory will return the one
with the highest priority.
|
boolean |
supports(RenameTableStatement 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.
|
getAffectedNewTable, getAffectedOldTable, validate
generateRollbackStatementsIsVolatile, generateStatementsIsVolatile, looksLikeFunctionCall, warn
public int getPriority()
SqlGenerator
getPriority
in interface PrioritizedService
getPriority
in interface SqlGenerator<RenameTableStatement>
getPriority
in class AbstractSqlGenerator<RenameTableStatement>
public boolean supports(RenameTableStatement statement, Database database)
SqlGenerator
supports
in interface SqlGenerator<RenameTableStatement>
supports
in class RenameTableGenerator
public Sql[] generateSql(RenameTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGenerator
generateSql
in interface SqlGenerator<RenameTableStatement>
generateSql
in class RenameTableGenerator
Copyright © 2023 Liquibase.org. All rights reserved.