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