public class AddAutoIncrementGenerator extends AbstractSqlGenerator<AddAutoIncrementStatement>
PRIORITY_DATABASE, PRIORITY_DEFAULTCOMPARATOR| Constructor and Description |
|---|
AddAutoIncrementGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Sql[] |
generateSql(AddAutoIncrementStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Generate the actual Sql for the given statement and database.
|
protected Column |
getAffectedColumn(AddAutoIncrementStatement statement) |
int |
getPriority()
Of all the SqlGenerators that "support" a given SqlStatement/Database, SqlGeneratorFactory will return the one with the highest priority.
|
boolean |
supports(AddAutoIncrementStatement 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(AddAutoIncrementStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Validate the data contained in the SqlStatement.
|
generateRollbackStatementsIsVolatile, generateStatementsIsVolatile, looksLikeFunctionCall, warnpublic int getPriority()
SqlGeneratorgetPriority in interface PrioritizedServicegetPriority in interface SqlGenerator<AddAutoIncrementStatement>getPriority in class AbstractSqlGenerator<AddAutoIncrementStatement>public boolean supports(AddAutoIncrementStatement statement, Database database)
SqlGeneratorsupports in interface SqlGenerator<AddAutoIncrementStatement>supports in class AbstractSqlGenerator<AddAutoIncrementStatement>public ValidationErrors validate(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGeneratorpublic Sql[] generateSql(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGeneratorprotected Column getAffectedColumn(AddAutoIncrementStatement statement)
Copyright © 2018 Liquibase.org. All rights reserved.