- java.lang.Object
- 
- org.jooq.MigrationConfiguration
 
- 
 @Internal public final class MigrationConfiguration extends Object A configuration type for use with the variousMeta.migrateTo(Meta)methods.This is EXPERIMENTAL functionality and subject to change in future jOOQ versions. - Author:
- Lukas Eder
 
- 
- 
Constructor SummaryConstructors Constructor Description MigrationConfiguration()Create a new default export configuration instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanalterTableAddMultiple()WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.MigrationConfigurationalterTableAddMultiple(boolean newAlterTableAddMultiple)WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.booleanalterTableDropCascade()WhetherALTER TABLE ..MigrationConfigurationalterTableDropCascade(boolean newAlterTableDropCascade)WhetherALTER TABLE ..booleanalterTableDropMultiple()WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.MigrationConfigurationalterTableDropMultiple(boolean newAlterTableDropMultiple)WhetherALTER TABLEstatements should drop multiple columns and constraints in a single statement where supported.booleancreateOrReplaceView()Whether the views should be (create-or-)replaced or dropped and re-created.MigrationConfigurationcreateOrReplaceView(boolean newCreateOrReplaceView)Whether the views should be (create-or-)replaced or dropped and re-created.booleandropSchemaCascade()WhetherDROP SCHEMAstatements should have aCASCADEclause where supported.MigrationConfigurationdropSchemaCascade(boolean newDropSchemaCascade)WhetherDROP SCHEMAstatements should have aCASCADEclause where supported.booleandropTableCascade()WhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.MigrationConfigurationdropTableCascade(boolean newDropTableCascade)WhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.booleanrespectColumnOrder()Whether the column order should be respected in a migration.MigrationConfigurationrespectColumnOrder(boolean newRespectColumnOrder)Whether the column order should be respected in a migration.
 
- 
- 
- 
Method Detail- 
alterTableAddMultiplepublic final boolean alterTableAddMultiple() WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.
 - 
alterTableAddMultiplepublic final MigrationConfiguration alterTableAddMultiple(boolean newAlterTableAddMultiple) WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.
 - 
alterTableDropMultiplepublic final boolean alterTableDropMultiple() WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.
 - 
alterTableDropMultiplepublic final MigrationConfiguration alterTableDropMultiple(boolean newAlterTableDropMultiple) WhetherALTER TABLEstatements should drop multiple columns and constraints in a single statement where supported.
 - 
dropSchemaCascadepublic final boolean dropSchemaCascade() WhetherDROP SCHEMAstatements should have aCASCADEclause where supported.
 - 
dropSchemaCascadepublic final MigrationConfiguration dropSchemaCascade(boolean newDropSchemaCascade) WhetherDROP SCHEMAstatements should have aCASCADEclause where supported.
 - 
dropTableCascadepublic final boolean dropTableCascade() WhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.
 - 
dropTableCascadepublic final MigrationConfiguration dropTableCascade(boolean newDropTableCascade) WhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.
 - 
alterTableDropCascadepublic final boolean alterTableDropCascade() WhetherALTER TABLE .. DROPstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.
 - 
alterTableDropCascadepublic final MigrationConfiguration alterTableDropCascade(boolean newAlterTableDropCascade) WhetherALTER TABLE .. DROPstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.
 - 
createOrReplaceViewpublic final boolean createOrReplaceView() Whether the views should be (create-or-)replaced or dropped and re-created.
 - 
createOrReplaceViewpublic final MigrationConfiguration createOrReplaceView(boolean newCreateOrReplaceView) Whether the views should be (create-or-)replaced or dropped and re-created.
 - 
respectColumnOrderpublic final boolean respectColumnOrder() Whether the column order should be respected in a migration.
 - 
respectColumnOrderpublic final MigrationConfiguration respectColumnOrder(boolean newRespectColumnOrder) Whether the column order should be respected in a migration.
 
- 
 
-