public class AddAutoIncrementGeneratorHsqlH2 extends AddAutoIncrementGenerator
PRIORITY_DATABASE, PRIORITY_DEFAULTCOMPARATOR| Constructor and Description |
|---|
AddAutoIncrementGeneratorHsqlH2() |
| Modifier and Type | Method and Description |
|---|---|
Sql[] |
generateSql(AddAutoIncrementStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Generate the actual Sql for the given statement and database.
|
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.
|
getAffectedColumn, validategenerateRollbackStatementsIsVolatile, generateStatementsIsVolatile, looksLikeFunctionCall, warnpublic int getPriority()
SqlGeneratorgetPriority in interface PrioritizedServicegetPriority in interface SqlGenerator<AddAutoIncrementStatement>getPriority in class AddAutoIncrementGeneratorpublic boolean supports(AddAutoIncrementStatement statement, Database database)
SqlGeneratorsupports in interface SqlGenerator<AddAutoIncrementStatement>supports in class AddAutoIncrementGeneratorpublic Sql[] generateSql(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGeneratorgenerateSql in interface SqlGenerator<AddAutoIncrementStatement>generateSql in class AddAutoIncrementGeneratorCopyright © 2018 Liquibase.org. All rights reserved.