Top Constructors Methods
liquibase.sqlgenerator.core

public Class DropSequenceGenerator

extends AbstractSqlGenerator<DropSequenceStatement>
Class Inheritance
Imports
liquibase.database.Database, liquibase.database.core.DerbyDatabase, .PostgresDatabase, liquibase.exception.ValidationErrors, liquibase.sql.Sql, .UnparsedSql, liquibase.sqlgenerator.SqlGeneratorChain, liquibase.statement.core.DropSequenceStatement, liquibase.structure.core.Sequence

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Sql[]
generateSql(DropSequenceStatement statement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain)

Implements liquibase.sqlgenerator.SqlGenerator.generateSql.

Generate the actual Sql for the given statement and database.

protected Sequence
public boolean
supports(DropSequenceStatement statement, Database database)

Overrides liquibase.sqlgenerator.core.AbstractSqlGenerator.supports.

Implements liquibase.sqlgenerator.SqlGenerator.supports.

Does this generator support the given statement/database combination?

public ValidationErrors
validate(DropSequenceStatement dropSequenceStatement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain)

Implements liquibase.sqlgenerator.SqlGenerator.validate.

Validate the data contained in the SqlStatement.

Inherited from liquibase.sqlgenerator.core.AbstractSqlGenerator:
generateRollbackStatementsIsVolatilegenerateStatementsIsVolatilegetPrioritylooksLikeFunctionCallwarn

Constructor Detail

DropSequenceGeneratorback to summary
public DropSequenceGenerator()

Method Detail

generateSqlback to summary
public Sql[] generateSql(DropSequenceStatement statement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain)

Implements liquibase.sqlgenerator.SqlGenerator.generateSql.

Doc from liquibase.sqlgenerator.SqlGenerator.generateSql.

Generate the actual Sql for the given statement and database.

Annotations
@Override
getAffectedSequenceback to summary
protected Sequence getAffectedSequence(DropSequenceStatement statement)
supportsback to summary
public boolean supports(DropSequenceStatement statement, Database database)

Overrides liquibase.sqlgenerator.core.AbstractSqlGenerator.supports.

Implements liquibase.sqlgenerator.SqlGenerator.supports.

Doc from liquibase.sqlgenerator.SqlGenerator.supports.

Does this generator support the given statement/database combination? Do not validate the statement with this method, only return if it can support it.

Annotations
@Override
validateback to summary
public ValidationErrors validate(DropSequenceStatement dropSequenceStatement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain)

Implements liquibase.sqlgenerator.SqlGenerator.validate.

Doc from liquibase.sqlgenerator.SqlGenerator.validate.

Validate the data contained in the SqlStatement. If there are no errors, return an empty ValidationErrors object, not a null value. Liquibase will inspect the ValidationErrors result before attempting to call generateSql.

Annotations
@Override