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 TypeMethodDescriptionbooleanWhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.alterTableAddMultiple(boolean newAlterTableAddMultiple)WhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.booleanWhetherALTER TABLE ..alterTableDropCascade(boolean newAlterTableDropCascade)WhetherALTER TABLE ..booleanWhetherALTER TABLEstatements should add multiple columns and constraints in a single statement where supported.alterTableDropMultiple(boolean newAlterTableDropMultiple)WhetherALTER TABLEstatements should drop multiple columns and constraints in a single statement where supported.booleanWhether the views should be (create-or-)replaced or dropped and re-created.createOrReplaceView(boolean newCreateOrReplaceView)Whether the views should be (create-or-)replaced or dropped and re-created.booleanWhetherDROP SCHEMAstatements should have aCASCADEclause where supported.dropSchemaCascade(boolean newDropSchemaCascade)WhetherDROP SCHEMAstatements should have aCASCADEclause where supported.booleanWhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.dropTableCascade(boolean newDropTableCascade)WhetherDROP TABLEstatements should have aCASCADE [ CONSTRAINTS ]clause where supported.booleanWhether the column order should be respected in a migration.respectColumnOrder(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.
-