public class DropSequenceGenerator extends AbstractSqlGenerator<DropSequenceStatement>
EMPTY_SQL, PRIORITY_DATABASE, PRIORITY_DEFAULT
COMPARATOR
Constructor and Description |
---|
DropSequenceGenerator() |
Modifier and Type | Method and Description |
---|---|
Sql[] |
generateSql(DropSequenceStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Generate the actual Sql for the given statement and database.
|
protected Sequence |
getAffectedSequence(DropSequenceStatement statement) |
boolean |
supports(DropSequenceStatement 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(DropSequenceStatement dropSequenceStatement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Validate the data contained in the SqlStatement.
|
generateRollbackStatementsIsVolatile, generateStatementsIsVolatile, getPriority, looksLikeFunctionCall, warn
public boolean supports(DropSequenceStatement statement, Database database)
SqlGenerator
supports
in interface SqlGenerator<DropSequenceStatement>
supports
in class AbstractSqlGenerator<DropSequenceStatement>
public ValidationErrors validate(DropSequenceStatement dropSequenceStatement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGenerator
public Sql[] generateSql(DropSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGenerator
protected Sequence getAffectedSequence(DropSequenceStatement statement)
Copyright © 2023 Liquibase.org. All rights reserved.