Meta.ddl() methods.- Author:
- Lukas Eder
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumWhether to inline foreign key constraint definitions with the table definition.
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a new default export configuration instance.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanWhether to generateCREATE DOMAIN IF NOT EXISTSstatements.final DDLExportConfigurationcreateDomainIfNotExists(boolean newCreateDomainIfNotExists) Whether to generateCREATE DOMAIN IF NOT EXISTSstatements.final booleanWhether to generateCREATE INDEX IF NOT EXISTSstatements.final DDLExportConfigurationcreateIndexIfNotExists(boolean newCreateIndexIfNotExists) Whether to generateCREATE INDEX IF NOT EXISTSstatements.final booleanWhether to generateCREATE OR REPLACE VIEWstatements.final DDLExportConfigurationcreateOrReplaceView(boolean newCreateOrReplaceView) Whether to generateCREATE OR REPLACE VIEWstatements.final booleanWhether to generateCREATE SCHEMA IF NOT EXISTSstatements.final DDLExportConfigurationcreateSchemaIfNotExists(boolean newCreateSchemaIfNotExists) Whether to generateCREATE SCHEMA IF NOT EXISTSstatements.final booleanWhether to generateCREATE SEQUENCE IF NOT EXISTSstatements.final DDLExportConfigurationcreateSequenceIfNotExists(boolean newCreateSequenceIfNotExists) Whether to generateCREATE SEQUENCE IF NOT EXISTSstatements.final booleanWhether to generateCREATE TABLE IF NOT EXISTSstatements.final DDLExportConfigurationcreateTableIfNotExists(boolean newCreateTableIfNotExists) Whether to generateCREATE TABLE IF NOT EXISTSstatements.final booleanWhether to generateCREATE VIEW IF NOT EXISTSstatements.final DDLExportConfigurationcreateViewIfNotExists(boolean newCreateViewIfNotExists) Whether to generateCREATE VIEW IF NOT EXISTSstatements.final booleanWhether to explicitly produce defaults for all sequence flags, when they're not defined explicitly.final DDLExportConfigurationdefaultSequenceFlags(boolean newDefaultSequenceFlags) Whether to explicitly produce defaults for all sequence flags, when they're not defined explicitly.flags()TheDDLFlagthat are enabled on this configuration.final DDLExportConfigurationflags(Collection<DDLFlag> newFlags) TheDDLFlagthat are enabled on this configuration.final DDLExportConfigurationTheDDLFlagthat are enabled on this configuration.final booleanWhether to include constraints on views.final DDLExportConfigurationincludeConstraintsOnViews(boolean newIncludeConstraintsOnViews) Whether to include constraints on views.Whether to inline foreign key constraint definitions with the table definition.final DDLExportConfigurationinlineForeignKeyConstraints(DDLExportConfiguration.InlineForeignKeyConstraints newInlineForeignKeyConstraints) Whether to inline foreign key constraint definitions with the table definition.final booleanWhether to respect the catalog order produced by theMetasource when generated catalog DDL.final DDLExportConfigurationrespectCatalogOrder(boolean newRespectCatalogOrder) Whether to respect the catalog order produced by theMetasource when generated catalog DDL.final booleanWhether to respect the column order produced by theMetasource when generated column DDL.final DDLExportConfigurationrespectColumnOrder(boolean newRespectColumnOrder) Whether to respect the column order produced by theMetasource when generated column DDL.final booleanWhether to respect the constraint order produced by theMetasource when generated constraint DDL.final DDLExportConfigurationrespectConstraintOrder(boolean newRespectConstraintOrder) Whether to respect the constraint order produced by theMetasource when generated constraint DDL.final booleanWhether to respect the domain order produced by theMetasource when generated domain DDL.final DDLExportConfigurationrespectDomainOrder(boolean newRespectDomainOrder) Whether to respect the sequence order produced by theMetasource when generated sequence DDL.final booleanWhether to respect the index order produced by theMetasource when generated index DDL.final DDLExportConfigurationrespectIndexOrder(boolean newRespectIndexOrder) Whether to respect the index order produced by theMetasource when generated index DDL.final booleanWhether to respect the schema order produced by theMetasource when generated schema DDL.final DDLExportConfigurationrespectSchemaOrder(boolean newRespectSchemaOrder) Whether to respect the schema order produced by theMetasource when generated schema DDL.final booleanWhether to respect the sequence order produced by theMetasource when generated sequence DDL.final DDLExportConfigurationrespectSequenceOrder(boolean newRespectSequenceOrder) Whether to respect the sequence order produced by theMetasource when generated sequence DDL.final booleanWhether to respect the table order produced by theMetasource when generated table DDL.final DDLExportConfigurationrespectTableOrder(boolean newRespectTableOrder) Whether to respect the table order produced by theMetasource when generated table DDL.
- 
Constructor Details- 
DDLExportConfigurationpublic DDLExportConfiguration()Create a new default export configuration instance.
 
- 
- 
Method Details- 
flagsTheDDLFlagthat are enabled on this configuration.
- 
flagsTheDDLFlagthat are enabled on this configuration.
- 
flagsTheDDLFlagthat 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.
- 
createSchemaIfNotExistsWhether 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.
- 
createTableIfNotExistsWhether 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.
- 
createIndexIfNotExistsWhether to generateCREATE INDEX IF NOT EXISTSstatements.
- 
createDomainIfNotExistspublic final boolean createDomainIfNotExists()Whether to generateCREATE DOMAIN IF NOT EXISTSstatements.Not all RDBMS support this flag. Check DSLContext.createDomainIfNotExists(Domain)to see if yourSQLDialectsupports the clause.
- 
createDomainIfNotExistsWhether to generateCREATE DOMAIN 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.
- 
createSequenceIfNotExistsWhether 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.
- 
createViewIfNotExistsWhether 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.
- 
createOrReplaceViewWhether to generateCREATE OR REPLACE VIEWstatements.
- 
respectCatalogOrderpublic final boolean respectCatalogOrder()Whether to respect the catalog order produced by theMetasource when generated catalog DDL.
- 
respectCatalogOrderWhether 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.
- 
respectSchemaOrderWhether 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.
- 
respectTableOrderWhether 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.
- 
respectColumnOrderWhether 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.
- 
respectConstraintOrderWhether 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.
- 
respectIndexOrderWhether to respect the index order produced by theMetasource when generated index DDL.
- 
respectDomainOrderpublic final boolean respectDomainOrder()Whether to respect the domain order produced by theMetasource when generated domain DDL.
- 
respectDomainOrderWhether to respect the sequence order produced by theMetasource when generated sequence DDL.
- 
respectSequenceOrderpublic final boolean respectSequenceOrder()Whether to respect the sequence order produced by theMetasource when generated sequence DDL.
- 
respectSequenceOrderWhether 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.
- 
defaultSequenceFlagsWhether to explicitly produce defaults for all sequence flags, when they're not defined explicitly.
- 
includeConstraintsOnViewspublic final boolean includeConstraintsOnViews()Whether to include constraints on views.
- 
includeConstraintsOnViewsWhether to include constraints on views.
- 
inlineForeignKeyConstraintsWhether to inline foreign key constraint definitions with the table definition.
- 
inlineForeignKeyConstraintspublic final DDLExportConfiguration inlineForeignKeyConstraints(DDLExportConfiguration.InlineForeignKeyConstraints newInlineForeignKeyConstraints) Whether to inline foreign key constraint definitions with the table definition.
 
-