java.lang.Object
org.jooq.MigrationConfiguration
A configuration type for use with the various 
Meta.migrateTo(Meta)
 methods.
 This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.
- Author:
 - Lukas Eder
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCreate a new default export configuration instance. - 
Method Summary
Modifier and TypeMethodDescriptionfinal booleanWhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.final MigrationConfigurationalterTableAddMultiple(boolean newAlterTableAddMultiple) WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.final booleanWhetherALTER TABLE … DROPstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.final MigrationConfigurationalterTableDropCascade(boolean newAlterTableDropCascade) WhetherALTER TABLE … DROPstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.final booleanWhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.final MigrationConfigurationalterTableDropMultiple(boolean newAlterTableDropMultiple) WhetherALTER TABLEstatements should drop multiple columns and constraints in a single statement where supported.final booleanWhether the views should be (create-or-)replaced or dropped and re-created.final MigrationConfigurationcreateOrReplaceView(boolean newCreateOrReplaceView) Whether the views should be (create-or-)replaced or dropped and re-created.final booleanWhetherDROP SCHEMAstatements should have aCASCADEclause where supported.final MigrationConfigurationdropSchemaCascade(boolean newDropSchemaCascade) WhetherDROP SCHEMAstatements should have aCASCADEclause where supported.final booleanWhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.final MigrationConfigurationdropTableCascade(boolean newDropTableCascade) WhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.final booleanWhether the column order should be respected in a migration.final MigrationConfigurationrespectColumnOrder(boolean newRespectColumnOrder) Whether the column order should be respected in a migration. 
- 
Constructor Details
- 
MigrationConfiguration
public MigrationConfiguration()Create a new default export configuration instance. 
 - 
 - 
Method Details
- 
alterTableAddMultiple
public final boolean alterTableAddMultiple()WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported. - 
alterTableAddMultiple
WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported. - 
alterTableDropMultiple
public final boolean alterTableDropMultiple()WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported. - 
alterTableDropMultiple
WhetherALTER TABLEstatements should drop multiple columns and constraints in a single statement where supported. - 
dropSchemaCascade
public final boolean dropSchemaCascade()WhetherDROP SCHEMAstatements should have aCASCADEclause where supported. - 
dropSchemaCascade
WhetherDROP SCHEMAstatements should have aCASCADEclause where supported. - 
dropTableCascade
public final boolean dropTableCascade()WhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported. - 
dropTableCascade
WhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported. - 
alterTableDropCascade
public final boolean alterTableDropCascade()WhetherALTER TABLE … DROPstatements should have aCASCADE [ CONSTRAINTS ]clause where supported. - 
alterTableDropCascade
WhetherALTER TABLE … DROPstatements should have aCASCADE [ CONSTRAINTS ]clause where supported. - 
createOrReplaceView
public final boolean createOrReplaceView()Whether the views should be (create-or-)replaced or dropped and re-created. - 
createOrReplaceView
Whether the views should be (create-or-)replaced or dropped and re-created. - 
respectColumnOrder
public final boolean respectColumnOrder()Whether the column order should be respected in a migration. - 
respectColumnOrder
Whether the column order should be respected in a migration. 
 -