Package liquibase.sqlgenerator.core
Class CreateTableGeneratorInformix
java.lang.Object
liquibase.sqlgenerator.core.AbstractSqlGenerator<CreateTableStatement>
liquibase.sqlgenerator.core.CreateTableGenerator
liquibase.sqlgenerator.core.CreateTableGeneratorInformix
- All Implemented Interfaces:
PrioritizedService,SqlGenerator<CreateTableStatement>
An Informix-specific create table statement generator.
-
Field Summary
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATORFields inherited from interface liquibase.sqlgenerator.SqlGenerator
EMPTY_SQL, PRIORITY_DATABASE, PRIORITY_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSql[]generateSql(CreateTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Informix SQL-specific implementation of the CREATE TABLE SQL generator.intOf all the SqlGenerators that "support" a given SqlStatement/Database, SqlGeneratorFactory will return the one with the highest priority.booleansupports(CreateTableStatement 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.Methods inherited from class liquibase.sqlgenerator.core.CreateTableGenerator
getAffectedTable, validateMethods inherited from class liquibase.sqlgenerator.core.AbstractSqlGenerator
generateRollbackStatementsIsVolatile, generateStatementsIsVolatile, looksLikeFunctionCall, warn
-
Constructor Details
-
CreateTableGeneratorInformix
public CreateTableGeneratorInformix()
-
-
Method Details
-
supports
Description copied from interface:SqlGeneratorDoes this generator support the given statement/database combination? Do not validate the statement with this method, only return if it can support it.- Specified by:
supportsin interfaceSqlGenerator<CreateTableStatement>- Overrides:
supportsin classAbstractSqlGenerator<CreateTableStatement>
-
getPriority
public int getPriority()Description copied from interface:SqlGeneratorOf all the SqlGenerators that "support" a given SqlStatement/Database, SqlGeneratorFactory will return the one with the highest priority.- Specified by:
getPriorityin interfacePrioritizedService- Specified by:
getPriorityin interfaceSqlGenerator<CreateTableStatement>- Overrides:
getPriorityin classAbstractSqlGenerator<CreateTableStatement>
-
generateSql
public Sql[] generateSql(CreateTableStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) Informix SQL-specific implementation of the CREATE TABLE SQL generator.- Specified by:
generateSqlin interfaceSqlGenerator<CreateTableStatement>- Overrides:
generateSqlin classCreateTableGenerator- Parameters:
statement- The properties of the statement that we will translate into SQLdatabase- For this implementation always an object of the InformixDatabase typesqlGeneratorChain- Other generators in the pipeline for this command- Returns:
- An array of Sql[] statements containing the requested SQL statements for Informix SQL
-