- java.lang.Object
- 
- org.jooq.DDLExportConfiguration
 
- 
 public final class DDLExportConfiguration extends Object A configuration type for use with the variousDSLContext.ddl(Catalog)methods.- Author:
- Lukas Eder
 
- 
- 
Constructor SummaryConstructors Constructor Description DDLExportConfiguration()Create a new default export configuration instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreateIndexIfNotExists()Whether to generateCREATE INDEX IF NOT EXISTSstatements.DDLExportConfigurationcreateIndexIfNotExists(boolean newCreateIndexIfNotExists)Whether to generateCREATE INDEX IF NOT EXISTSstatements.booleancreateOrReplaceView()Whether to generateCREATE OR REPLACE VIEWstatements.DDLExportConfigurationcreateOrReplaceView(boolean newCreateOrReplaceView)Whether to generateCREATE OR REPLACE VIEWstatements.booleancreateSchemaIfNotExists()Whether to generateCREATE SCHEMA IF NOT EXISTSstatements.DDLExportConfigurationcreateSchemaIfNotExists(boolean newCreateSchemaIfNotExists)Whether to generateCREATE SCHEMA IF NOT EXISTSstatements.booleancreateSequenceIfNotExists()Whether to generateCREATE SEQUENCE IF NOT EXISTSstatements.DDLExportConfigurationcreateSequenceIfNotExists(boolean newCreateSequenceIfNotExists)Whether to generateCREATE SEQUENCE IF NOT EXISTSstatements.booleancreateTableIfNotExists()Whether to generateCREATE TABLE IF NOT EXISTSstatements.DDLExportConfigurationcreateTableIfNotExists(boolean newCreateTableIfNotExists)Whether to generateCREATE TABLE IF NOT EXISTSstatements.booleancreateViewIfNotExists()Whether to generateCREATE VIEW IF NOT EXISTSstatements.DDLExportConfigurationcreateViewIfNotExists(boolean newCreateViewIfNotExists)Whether to generateCREATE VIEW IF NOT EXISTSstatements.booleandefaultSequenceFlags()Whether to explicitly produce defaults for all sequence flags, when they're not defined explicitly.DDLExportConfigurationdefaultSequenceFlags(boolean newDefaultSequenceFlags)Whether to explicitly produce defaults for all sequence flags, when they're not defined explicitly.Set<DDLFlag>flags()TheDDLFlagthat are enabled on this configuration.DDLExportConfigurationflags(Collection<DDLFlag> newFlags)TheDDLFlagthat are enabled on this configuration.DDLExportConfigurationflags(DDLFlag... newFlags)TheDDLFlagthat are enabled on this configuration.booleanrespectCatalogOrder()Whether to respect the catalog order produced by theMetasource when generated catalog DDL.DDLExportConfigurationrespectCatalogOrder(boolean newRespectCatalogOrder)Whether to respect the catalog order produced by theMetasource when generated catalog DDL.booleanrespectColumnOrder()Whether to respect the column order produced by theMetasource when generated column DDL.DDLExportConfigurationrespectColumnOrder(boolean newRespectColumnOrder)Whether to respect the column order produced by theMetasource when generated column DDL.booleanrespectConstraintOrder()Whether to respect the constraint order produced by theMetasource when generated constraint DDL.DDLExportConfigurationrespectConstraintOrder(boolean newRespectConstraintOrder)Whether to respect the constraint order produced by theMetasource when generated constraint DDL.booleanrespectIndexOrder()Whether to respect the index order produced by theMetasource when generated index DDL.DDLExportConfigurationrespectIndexOrder(boolean newRespectIndexOrder)Whether to respect the index order produced by theMetasource when generated index DDL.booleanrespectSchemaOrder()Whether to respect the schema order produced by theMetasource when generated schema DDL.DDLExportConfigurationrespectSchemaOrder(boolean newRespectSchemaOrder)Whether to respect the schema order produced by theMetasource when generated schema DDL.booleanrespectSequenceOrder()Whether to respect the sequence order produced by theMetasource when generated sequence DDL.DDLExportConfigurationrespectSequenceOrder(boolean newRespectSequenceOrder)Whether to respect the sequence order produced by theMetasource when generated sequence DDL.booleanrespectTableOrder()Whether to respect the table order produced by theMetasource when generated table DDL.DDLExportConfigurationrespectTableOrder(boolean newRespectTableOrder)Whether to respect the table order produced by theMetasource when generated table DDL.
 
- 
- 
- 
Method Detail- 
flagspublic final DDLExportConfiguration flags(DDLFlag... newFlags) TheDDLFlagthat are enabled on this configuration.
 - 
flagspublic final DDLExportConfiguration flags(Collection<DDLFlag> newFlags) TheDDLFlagthat are enabled on this configuration.
 - 
createSchemaIfNotExistspublic final boolean createSchemaIfNotExists() Whether to generateCREATE SCHEMA IF NOT EXISTSstatements.Not all RDBMS support this flag. Check DSLContext.createSchemaIfNotExists(Schema)to see if yourSQLDialectsupports the clause.
 - 
createSchemaIfNotExistspublic final DDLExportConfiguration createSchemaIfNotExists(boolean newCreateSchemaIfNotExists) Whether to generateCREATE SCHEMA IF NOT EXISTSstatements.
 - 
createTableIfNotExistspublic final boolean createTableIfNotExists() Whether to generateCREATE TABLE IF NOT EXISTSstatements.Not all RDBMS support this flag. Check DSLContext.createTableIfNotExists(Table)to see if yourSQLDialectsupports the clause.
 - 
createTableIfNotExistspublic final DDLExportConfiguration createTableIfNotExists(boolean newCreateTableIfNotExists) Whether to generateCREATE TABLE IF NOT EXISTSstatements.
 - 
createIndexIfNotExistspublic final boolean createIndexIfNotExists() Whether to generateCREATE INDEX IF NOT EXISTSstatements.Not all RDBMS support this flag. Check DSLContext.createIndexIfNotExists(Index)to see if yourSQLDialectsupports the clause.
 - 
createIndexIfNotExistspublic final DDLExportConfiguration createIndexIfNotExists(boolean newCreateIndexIfNotExists) Whether to generateCREATE INDEX IF NOT EXISTSstatements.
 - 
createSequenceIfNotExistspublic final boolean createSequenceIfNotExists() Whether to generateCREATE SEQUENCE IF NOT EXISTSstatements.Not all RDBMS support this flag. Check DSLContext.createSequenceIfNotExists(Sequence)to see if yourSQLDialectsupports the clause.
 - 
createSequenceIfNotExistspublic final DDLExportConfiguration createSequenceIfNotExists(boolean newCreateSequenceIfNotExists) Whether to generateCREATE SEQUENCE IF NOT EXISTSstatements.
 - 
createViewIfNotExistspublic final boolean createViewIfNotExists() Whether to generateCREATE VIEW IF NOT EXISTSstatements.Not all RDBMS support this flag. Check DSLContext.createViewIfNotExists(Table, Field...)to see if yourSQLDialectsupports the clause.
 - 
createViewIfNotExistspublic final DDLExportConfiguration createViewIfNotExists(boolean newCreateViewIfNotExists) Whether to generateCREATE VIEW IF NOT EXISTSstatements.
 - 
createOrReplaceViewpublic final boolean createOrReplaceView() Whether to generateCREATE OR REPLACE VIEWstatements.Not all RDBMS support this flag. Check DSLContext.createOrReplaceView(Table, Field...)to see if yourSQLDialectsupports the clause.
 - 
createOrReplaceViewpublic final DDLExportConfiguration createOrReplaceView(boolean newCreateOrReplaceView) Whether to generateCREATE OR REPLACE VIEWstatements.
 - 
respectCatalogOrderpublic final boolean respectCatalogOrder() Whether to respect the catalog order produced by theMetasource when generated catalog DDL.
 - 
respectCatalogOrderpublic final DDLExportConfiguration respectCatalogOrder(boolean newRespectCatalogOrder) Whether to respect the catalog order produced by theMetasource when generated catalog DDL.
 - 
respectSchemaOrderpublic final boolean respectSchemaOrder() Whether to respect the schema order produced by theMetasource when generated schema DDL.
 - 
respectSchemaOrderpublic final DDLExportConfiguration respectSchemaOrder(boolean newRespectSchemaOrder) Whether to respect the schema order produced by theMetasource when generated schema DDL.
 - 
respectTableOrderpublic final boolean respectTableOrder() Whether to respect the table order produced by theMetasource when generated table DDL.
 - 
respectTableOrderpublic final DDLExportConfiguration respectTableOrder(boolean newRespectTableOrder) Whether to respect the table order produced by theMetasource when generated table DDL.
 - 
respectColumnOrderpublic final boolean respectColumnOrder() Whether to respect the column order produced by theMetasource when generated column DDL.
 - 
respectColumnOrderpublic final DDLExportConfiguration respectColumnOrder(boolean newRespectColumnOrder) Whether to respect the column order produced by theMetasource when generated column DDL.
 - 
respectConstraintOrderpublic final boolean respectConstraintOrder() Whether to respect the constraint order produced by theMetasource when generated constraint DDL.
 - 
respectConstraintOrderpublic final DDLExportConfiguration respectConstraintOrder(boolean newRespectConstraintOrder) Whether to respect the constraint order produced by theMetasource when generated constraint DDL.
 - 
respectIndexOrderpublic final boolean respectIndexOrder() Whether to respect the index order produced by theMetasource when generated index DDL.
 - 
respectIndexOrderpublic final DDLExportConfiguration respectIndexOrder(boolean newRespectIndexOrder) Whether to respect the index order produced by theMetasource when generated index DDL.
 - 
respectSequenceOrderpublic final boolean respectSequenceOrder() Whether to respect the sequence order produced by theMetasource when generated sequence DDL.
 - 
respectSequenceOrderpublic final DDLExportConfiguration respectSequenceOrder(boolean newRespectSequenceOrder) Whether to respect the sequence order produced by theMetasource when generated sequence DDL.
 - 
defaultSequenceFlagspublic final boolean defaultSequenceFlags() Whether to explicitly produce defaults for all sequence flags, when they're not defined explicitly.
 - 
defaultSequenceFlagspublic final DDLExportConfiguration defaultSequenceFlags(boolean newDefaultSequenceFlags) Whether to explicitly produce defaults for all sequence flags, when they're not defined explicitly.
 
- 
 
-