| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Sql[] | generateSql(CreateTableStatement statement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain)
Implements liquibase. Generate the actual Sql for the given statement and database. |
| private String | |
| protected Relation | |
| private List | Returns: the sorted list of primary keysthe primary key columns in the create table statement primaryKeyColumns, Database database, List<String> a list of the columns (in order) that are specified as auto increment columns autoIncrementColumns)Given the list of primary key columns, return that same list in the order that the database platform expects based on the order of the auto increment columns. |
| public ValidationErrors | validate(CreateTableStatement createTableStatement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain)
Implements liquibase. Validate the data contained in the SqlStatement. |
| CreateTableGenerator | back to summary |
|---|---|
| public CreateTableGenerator() | |
| generateSql | back to summary |
|---|---|
| public Sql[] generateSql(CreateTableStatement statement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain) Implements liquibase. Doc from liquibase. Generate the actual Sql for the given statement and database.
| |
| generateTableName | back to summary |
|---|---|
| private String generateTableName(Database database, CreateTableStatement statement) | |
| getAffectedTable | back to summary |
|---|---|
| protected Relation getAffectedTable(CreateTableStatement statement) | |
| getPrimaryKeyColumns | back to summary |
|---|---|
| private List Given the list of primary key columns, return that same list in the order that the database platform expects based on the order of the auto increment columns. | |
| validate | back to summary |
|---|---|
| public ValidationErrors validate(CreateTableStatement createTableStatement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain) Implements liquibase. Doc from liquibase. Validate the data contained in the SqlStatement. If there are no errors, return an empty ValidationErrors object, not a null value. Liquibase will inspect the ValidationErrors result before attempting to call generateSql.
| |