public class CreateSequenceGeneratorSnowflake extends CreateSequenceGenerator
EMPTY_SQL, PRIORITY_DATABASE, PRIORITY_DEFAULTCOMPARATOR| Constructor and Description |
|---|
CreateSequenceGeneratorSnowflake() |
| Modifier and Type | Method and Description |
|---|---|
Sql[] |
generateSql(CreateSequenceStatement 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(CreateSequenceStatement 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(CreateSequenceStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Validate the data contained in the SqlStatement.
|
getAffectedSequencegenerateRollbackStatementsIsVolatile, generateStatementsIsVolatile, looksLikeFunctionCall, warnpublic int getPriority()
SqlGeneratorgetPriority in interface PrioritizedServicegetPriority in interface SqlGenerator<CreateSequenceStatement>getPriority in class AbstractSqlGenerator<CreateSequenceStatement>public boolean supports(CreateSequenceStatement statement, Database database)
SqlGeneratorsupports in interface SqlGenerator<CreateSequenceStatement>supports in class CreateSequenceGeneratorpublic ValidationErrors validate(CreateSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGeneratorvalidate in interface SqlGenerator<CreateSequenceStatement>validate in class CreateSequenceGeneratorpublic Sql[] generateSql(CreateSequenceStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGeneratorgenerateSql in interface SqlGenerator<CreateSequenceStatement>generateSql in class CreateSequenceGeneratorCopyright © 2023 Liquibase.org. All rights reserved.