public class DropDefaultValueGenerator extends AbstractSqlGenerator<DropDefaultValueStatement>
| Modifier and Type | Field and Description |
|---|---|
static BiFunction |
DROP_DF_MSSQL |
PRIORITY_DATABASE, PRIORITY_DEFAULTCOMPARATOR| Constructor and Description |
|---|
DropDefaultValueGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Sql[] |
generateSql(DropDefaultValueStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Generate the actual Sql for the given statement and database.
|
protected Column |
getAffectedColumn(DropDefaultValueStatement statement) |
boolean |
supports(DropDefaultValueStatement 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(DropDefaultValueStatement dropDefaultValueStatement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Validate the data contained in the SqlStatement.
|
generateRollbackStatementsIsVolatile, generateStatementsIsVolatile, getPriority, looksLikeFunctionCall, warnpublic static BiFunction DROP_DF_MSSQL
public boolean supports(DropDefaultValueStatement statement, Database database)
SqlGeneratorsupports in interface SqlGenerator<DropDefaultValueStatement>supports in class AbstractSqlGenerator<DropDefaultValueStatement>public ValidationErrors validate(DropDefaultValueStatement dropDefaultValueStatement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGeneratorpublic Sql[] generateSql(DropDefaultValueStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGeneratorprotected Column getAffectedColumn(DropDefaultValueStatement statement)
Copyright © 2022 Liquibase.org. All rights reserved.