- All Implemented Interfaces:
AutoCloseable,Database
- Direct Known Subclasses:
AbstractMetaDatabase,CUBRIDDatabase,DerbyDatabase,FirebirdDatabase,H2Database,HSQLDBDatabase,MySQLDatabase,PostgresDatabase,SQLiteDatabase,XMLDatabase
- Author:
- Lukas Eder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jooq.meta.Database
Database.Filter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddFilter(Database.Filter filter) [#3488] Add an additional filter to the database that is applied in addition to include / exclude.voidclose()Release any resources that this Database may have allocated.booleanbooleancommercial(Supplier<String> logMessage) protected booleanconfiguredDialectIsNotFamilyAndSupports(List<SQLDialect> d, Supplier<Boolean> ifFamily) Check if the configured dialect is versioned explicitly and supports a given dialect.final DSLContextcreate()Create the factory for this database.protected final DSLContextcreate(boolean muteExceptions) protected abstract DSLContextcreate0()Create a new Factoryfinal booleanWhether DATE columns should be treated as TIMESTAMP columns.A regular expression matching domain type definitions for which embeddable types should be generated.A regular expression matching primary keys for which embeddable types should be generated.A regular expression matching unique keys for which embeddable types should be generated.final booleanCheck for the existence of several tables in the dictionary views.final booleanexistAll(TableField<?, ?>... f) Check for the existence of several table fields in the dictionary views.final booleanCheck for the existence of a table in the dictionary views.final booleanexists(TableField<?, ?> field) Check for the existence of a table field in the dictionary views.protected boolean[#8972] Subclasses may override this method for a more efficient implementation.protected booleanexists0(TableField<?, ?> field) [#8972] Subclasses may override this method for a more efficient implementation.protected final <R extends Record>
booleanexists1(Table<?> find, Table<R> in, TableField<R, String> schemaQualifier, TableField<R, String> tableQualifier) A utility method to look up a table in a single dictionary view.protected final <R extends Record>
booleanexists1(TableField<?, ?> find, Table<R> in, TableField<R, String> schemaQualifier, TableField<R, String> tableQualifier, TableField<R, String> columnQualifier) A utility method to look up a field in a single dictionary view.protected static final StringfetchedSize(Collection<?> fetched, Collection<?> included) protected final <T extends Definition>
List<T>protected final <T extends Definition>
List<T>final <T extends Definition>
List<T>filterExcludeInclude(List<T> definitions) Filter a list of definitions according to the exclude / include / and filter settings of this database.protected final <T extends Definition>
List<T>filterExcludeInclude(List<T> definitions, String[] e, String[] i, List<Database.Filter> f) protected final <T extends Definition>
List<T>filterExcludeInclude(List<T> definitions, String e, String i) protected final <T extends Definition>
List<T>filterPackage(List<T> definitions, PackageDefinition pkg) protected final <T extends Definition>
List<T>filterPackage(List<T> definitions, PackageDefinition pkg, Map<PackageDefinition, List<T>> cache) protected final <T extends Definition>
List<T>filterSchema(List<T> definitions, SchemaDefinition schema) protected final <T extends Definition>
List<T>filterSchema(List<T> definitions, SchemaDefinition schema, Map<SchemaDefinition, List<T>> cache) protected final <T extends TableElementDefinition>
List<T>filterTable(List<T> definitions, TableDefinition table) protected final <T extends TableElementDefinition>
List<T>filterTable(List<T> definitions, TableDefinition table, Map<TableDefinition, List<T>> cache) final List<Definition>getAll()Retrieve all objects.final ArrayDefinitiongetArray(SchemaDefinition schema, String name) Get a ARRAY defined in this database by name.final ArrayDefinitiongetArray(SchemaDefinition schema, String name, boolean ignoreCase) Get a ARRAY defined in this database by name.final ArrayDefinitiongetArray(SchemaDefinition schema, Name name) Get a ARRAY defined in this database by name.final ArrayDefinitiongetArray(SchemaDefinition schema, Name name, boolean ignoreCase) Get a ARRAY defined in this database by name.final List<ArrayDefinition>getArrays(SchemaDefinition schema) The Arrays defined in this database.protected abstract List<ArrayDefinition>Retrieve ALL ARRAYs from the database.final StringThe basedir that can be used by file based implementations to resolve relative paths.final CatalogDefinitiongetCatalog(String inputName) Get a catalog defined in this database by name.final List<CatalogDefinition>The catalogs generated from this database.protected abstract List<CatalogDefinition>Retrieve ALL catalogs from the database.final CatalogVersionProviderThe database's catalog version provider.final List<CheckConstraintDefinition>getCheckConstraints(SchemaDefinition schema) The check constraints contained in this database.Get the configured comments.final CustomTypegetConfiguredCustomType(String typeName) Deprecated.final List<CustomType>Deprecated.final List<EmbeddableDefinitionType>Get the configured embeddable type definitions for any givenDefinition.Database objects matching any of these field names will be generated as enum types.final ForcedTypegetConfiguredForcedType(Definition definition) Get the configured forced type object for any givenDefinition, ornullif noForcedTypematches the definition.final ForcedTypegetConfiguredForcedType(Definition definition, DataTypeDefinition definedType) Get the configured forced type object for any givenDefinition, ornullif noForcedTypematches the definition.final List<ForcedType>Database objects matching any of these field names will be generated as forced types.Get the configured synthetic columns.Get the configured synthetic DAOs.Get the configured synthetic foreign keys.Get the configured synthetic identities.Get the configured synthetic primary keys.Get the configured synthetic readonly columns.Get the configured synthetic readonly rowids.Get the configured synthetic unique keys.Get the configured synthetic views.final ConnectionThe database connection.protected final DataTypeDefinitiongetDataTypeForMAX_VAL(SchemaDefinition schema, BigInteger value) Get the data type considering a known max valueprotected static final <D extends Definition>
DgetDefinition(List<D> definitions, String name, boolean ignoreCase) protected static final <D extends Definition>
DgetDefinition(List<D> definitions, Name name, boolean ignoreCase) final SQLDialectGet the dialect for this database.final DomainDefinitiongetDomain(SchemaDefinition schema, String name) Get an domain UDT defined in this database by name.final DomainDefinitiongetDomain(SchemaDefinition schema, String name, boolean ignoreCase) Get an domain UDT defined in this database by name.final DomainDefinitiongetDomain(SchemaDefinition schema, Name name) Get an domain UDT defined in this database by name.final DomainDefinitiongetDomain(SchemaDefinition schema, Name name, boolean ignoreCase) Get an domain UDT defined in this database by name.final List<DomainDefinition>The domain UDTs defined in this database.final List<DomainDefinition>getDomains(SchemaDefinition schema) The domain UDTs defined in this database.protected abstract List<DomainDefinition>Retrieve ALL domain UDTs from the database.final List<EmbeddableDefinition>Get all embeddables.final List<EmbeddableDefinition>getEmbeddables(SchemaDefinition schema) Get all embeddables for a given defining schema.final List<EmbeddableDefinition>getEmbeddables(TableDefinition table) Get all embeddables for a given defining table.final List<EmbeddableDefinition>Get all embeddables for a given referencing table.final EnumDefinitiongetEnum(SchemaDefinition schema, String name) Get an enum UDT defined in this database by name.final EnumDefinitiongetEnum(SchemaDefinition schema, String name, boolean ignoreCase) Get an enum UDT defined in this database by name.final EnumDefinitiongetEnum(SchemaDefinition schema, Name name) Get an enum UDT defined in this database by name.final EnumDefinitiongetEnum(SchemaDefinition schema, Name name, boolean ignoreCase) Get an enum UDT defined in this database by name.final List<EnumDefinition>getEnums(SchemaDefinition schema) The enum UDTs defined in this database.protected abstract List<EnumDefinition>Retrieve ALL enum UDTs from the database.final List<Definition>Retrieve all excluded objects.final String[]Database objects matching any of these regular expressions will not be generated.final StringDatabase objects matching any of the regular expressions produced by this SQL query will not be generated, in addition to the ones specified byDatabase.getExcludes().final List<Database.Filter>[#3488] The filters that are applied in addition to include / exclude.booleanWhether some additional forced types for built in data type extensions, such as the ones fromjooq-codegen-postgresshould be added.booleanWhether some additional forced types forXMLSchemaCollectionDefinitiontypes should be created automatically for columns that have non-ambiguous references to anXMLTypeDefinition.booleanWhether zero-scale decimal types should be treated as their most appropriate, corresponding integer type.final List<ForeignKeyDefinition>The foreign keys contained in this database.final List<ForeignKeyDefinition>getForeignKeys(SchemaDefinition schema) The foreign keys contained in this database.final List<IdentityDefinition>getIdentities(SchemaDefinition schema) The identities contained in this database.final booleanwhether check constraints should be included.final List<Definition>Retrieve all included objects.final booleanwhether domains should be included.final booleanWhether embeddable types should be included.final booleanIndicate whether include / exclude regular expression shall also match database columns.final booleanIndicate whether include / exclude regular expression shall also match package routines.final booleanwhether foreign key relationships should be included.final booleanwhether indexes should be included.final booleanWhether invisible columns should be included.final booleanwhether package constants should be included.final booleanwhether package routines should be included.final booleanwhether packages should be included.final booleanwhether package UDTs should be included.final booleanwhether primary keys should be included.final booleanwhether routines should be included.final String[]Only database objects matching any of these regular expressions will be generated.final booleanwhether sequences should be included.final StringOnly database objects matching any of the regular expressions produced by this SQL query will be generated, in addition to the ones specified byDatabase.getIncludes().final booleanwhether system generated check constraints should be included.final booleanwhether system generated indexes should be included.final booleanwhether system generated sequences should be included.final booleanwhether system generated tables should be included.final booleanwhether system generated UDTs should be included.final booleanWhether tables (and views) should be included.booleanwhether trigger routines should be included.final booleanwhether user defined types should be included.final booleanwhether unique keys should be included.final booleanwhether XML schema collections should be included.final List<IndexDefinition>getIndexes(SchemaDefinition schema) The indexes contained in this database.final List<IndexDefinition>getIndexes(TableDefinition table) The indexes contained in this database.protected List<IndexDefinition>Retrieve ALL indexes from the databaseThe input catalogs are the catalogs that jooq-meta is reading data from.The input schemata are the schemata from all catalogs that jooq-meta is reading data from.getInputSchemata(String catalog) The input schemata are the schemata from a given catalog that jooq-meta is reading data from.getInputSchemata(CatalogDefinition catalog) The input schemata are the schemata from a given catalog that jooq-meta is reading data from.final List<UniqueKeyDefinition>getKeys()The unique and primary keys contained in this database.final List<UniqueKeyDefinition>getKeys(SchemaDefinition schema) The unique and primary keys contained in this database.final intLog slow queries after this amount of seconds.final intLog slow results after this amount of seconds.final Comparator<Definition>The database's order provider.getOutputCatalog(String inputCatalog) Deprecated.getOutputSchema(String inputSchema) Deprecated.getOutputSchema(String inputCatalog, String inputSchema) The output schema is the schema used by jooq-codegen in class names.String[]Deprecated.getPackage(SchemaDefinition schema, String inputName) Get a package defined in this database by name.final List<PackageDefinition>getPackages(SchemaDefinition schema) The packages contained in this database.protected abstract List<PackageDefinition>Retrieve ALL packages from the database.final List<UniqueKeyDefinition>The primary keys contained in this database.final List<UniqueKeyDefinition>getPrimaryKeys(SchemaDefinition schema) The primary keys contained in this database.final PropertiesDatabase properties.String[]Table columns matching these regular expressions will be considered as record timestamp fields in generated code.String[]Table columns matching these regular expressions will be considered as record version fields in generated code.The regular expression flags that should be applied when using regular expressions.final booleanWhether the regular expressions matching database objects should match partially qualified names as well as fully qualified and unqualified names.final RelationsRetrieve the schema's primary key / foreign key relations.protected final RelationsRetrieve ALL relations from the database.protected RenderQuotedNamesSubclasses may override this.final List<RoutineDefinition>getRoutines(SchemaDefinition schema) The stored routines (procedures and functions) contained in this database.protected abstract List<RoutineDefinition>Retrieve ALL stored routines (functions and procedures) from the database.final SchemaDefinitionGet a schema defined in this database by name.final List<SchemaDefinition>The schemata generated from this database.final List<SchemaDefinition>getSchemata(CatalogDefinition catalog) The schemata generated from this database and a given catalog.protected abstract List<SchemaDefinition>Retrieve ALL schemata from the database.final SchemaVersionProviderThe database's schema version provider.final List<SequenceDefinition>The sequences contained in this database.final List<SequenceDefinition>getSequences(SchemaDefinition schema) The sequences contained in this database.protected abstract List<SequenceDefinition>Retrieve ALL sequences from the database.final Map<Definition,String> Get the sources for all objects that offer sources.protected Map<Definition,String> Retrieve ALL source code from the database.final booleanWhether the SQL statements matching database objects should match partially qualified names as well as fully qualified and unqualified names.final String[]Deprecated.String[]Deprecated.final TableDefinitiongetTable(SchemaDefinition schema, String name) Get a table in this database by name.final TableDefinitiongetTable(SchemaDefinition schema, String name, boolean ignoreCase) Get a table in this database by name.final TableDefinitiongetTable(SchemaDefinition schema, Name name) Get a table in this database by name.final TableDefinitiongetTable(SchemaDefinition schema, Name name, boolean ignoreCase) Get a table in this database by name.final List<TableDefinition>The tables contained in this database.final List<TableDefinition>getTables(SchemaDefinition schema) The tables contained in this database.protected abstract List<TableDefinition>Retrieve ALL tables from the database.final UDTDefinitiongetUDT(SchemaDefinition schema, String name) Get a UDT defined in this database by name.final UDTDefinitiongetUDT(SchemaDefinition schema, String name, boolean ignoreCase) Get a UDT defined in this database by name.final UDTDefinitiongetUDT(SchemaDefinition schema, Name name) Get a UDT defined in this database by name.final UDTDefinitiongetUDT(SchemaDefinition schema, Name name, boolean ignoreCase) Get a UDT defined in this database by name.final List<UDTDefinition>getUDTs()The UDTs defined in this database.final List<UDTDefinition>getUDTs(PackageDefinition pkg) The UDTs defined in this database.final List<UDTDefinition>getUDTs(SchemaDefinition schema) The UDTs defined in this database.protected abstract List<UDTDefinition>getUDTs0()Retrieve ALL UDTs from the database.final List<UniqueKeyDefinition>The unique keys contained in this database.final List<UniqueKeyDefinition>getUniqueKeys(SchemaDefinition schema) The unique keys contained in this database.Retrieve the not-yet used comments.final List<EmbeddableDefinitionType>Retrieve the not-yet used embeddables.Retrieve the not-yet used forced types.Retrieve the not-yet used synthetic columns.Retrieve the not-yet used synthetic foreign keys.Retrieve the not-yet used synthetic identities.Retrieve the not-yet used synthetic primary keys.Retrieve the not-yet used synthetic readonly columns.Retrieve the not-yet used synthetic readonly rowids.Retrieve the not-yet used synthetic unique keys.Retrieve the not-yet used synthetic views.getXMLSchemaCollection(SchemaDefinition schema, String inputName) The XML schema collection generated from this database by nameThe XML schema collections generated from this database.The XML schema collections generated from this database.protected abstract List<XMLSchemaCollectionDefinition>Retrieve ALL XML schema collections from the database.final booleanWhether this database should ignore procedure return values.final boolean[#3559] Whether relations (i.e.final booleanWhether this database includes integer display widths in metadata, where applicable.final booleanisArrayType(String dataType) Check whether a type is an array type.final booleanWhetherjava.timetypes are used, as opposed tojava.sqltypes.protected abstract voidRetrieveCHECKconstraints and store them to relations.protected abstract voidRetrieve foreign keys and store them to relations.protected abstract voidRetrieve primary keys and store them to relationsprotected abstract voidRetrieve non-primary unique keys and store them to relationsvoidmarkUsed(CommentType object) Mark a comment as used.final voidmarkUsed(EmbeddableDefinitionType embeddable) Mark an embeddable as used.voidmarkUsed(ForcedType forcedType) Mark a forced type as used.voidmarkUsed(SyntheticColumnType column) Mark a synthetic column as used.voidmarkUsed(SyntheticForeignKeyType foreignKey) Mark a synthetic foreign key as used.voidmarkUsed(SyntheticIdentityType identity) Mark a synthetic identity as used.voidmarkUsed(SyntheticPrimaryKeyType primaryKey) Mark a synthetic primary key as used.voidmarkUsed(SyntheticReadonlyColumnType readonlyColumn) Mark a synthetic readonly column as used.voidmarkUsed(SyntheticReadonlyRowidType readonlyRowid) Mark a synthetic readonly rowids as used.voidmarkUsed(SyntheticUniqueKeyType uniqueKey) Mark a synthetic unique key as used.voidmarkUsed(SyntheticViewType view) Mark a synthetic view as used.final OnErroronError()The behaviour when errors are encountered.booleanWhether computed columns columns should exposeDataType.readonly()behaviour.booleanWhether identity columns should exposeDataType.readonly()behaviour.booleanWhether columns that are known not to be updatable (e.g.booleanrequireCommercial(Supplier<String> logMessage) final voidsetBasedir(String basedir) The basedir that can be used by file based implementations to resolve relative paths.final voidsetCatalogVersionProvider(CatalogVersionProvider catalogVersionProvider) The database's catalog version provider.final voidsetConfiguredCatalogs(List<CatalogMappingType> catalogs) The input and output catalogs.voidsetConfiguredComments(List<CommentType> configuredComments) Configure the comments.final voidsetConfiguredCustomTypes(List<CustomType> configuredCustomTypes) Deprecated.final voidsetConfiguredEmbeddables(List<EmbeddableDefinitionType> configuredEmbeddables) Configure the embeddable types.final voidsetConfiguredEnumTypes(List<EnumType> configuredEnumTypes) Database objects matching any of these field names will be generated as enum types.final voidsetConfiguredForcedTypes(List<ForcedType> configuredForcedTypes) Database objects matching any of these field names will be generated as forced types.final voidsetConfiguredSchemata(List<SchemaMappingType> schemata) The input and output schemata.voidsetConfiguredSyntheticObjects(SyntheticObjectsType configuredSyntheticObjects) Configure the synthetic objects.final voidsetConnection(Connection connection) Initialise a connection to this database.final voidsetDateAsTimestamp(boolean dateAsTimestamp) Whether DATE columns should be treated as TIMESTAMP columns.final voidsetDialect(SQLDialect dialect) Set the dialect for this database.voidsetEmbeddableDomains(String embeddableDomains) A regular expression matching domain type definitions for which embeddable types should be generated.voidsetEmbeddablePrimaryKeys(String embeddablePrimaryKeys) A regular expression matching primary keys for which embeddable types should be generated.voidsetEmbeddableUniqueKeys(String embeddableUniqueKeys) A regular expression matching unique keys for which embeddable types should be generated.final voidsetExcludes(String[] excludes) Database objects matching any of these regular expressions will not be generated.final voidsetExcludeSql(String sql) Database objects matching any of the regular expressions produced by this SQL query will not be generated, in addition to the ones specified byDatabase.getExcludes().voidsetForcedTypesForBuiltinDataTypeExtensions(boolean forcedTypesForBuiltinDataTypeExtensions) Whether some additional forced types for built in data type extensions, such as the ones fromjooq-codegen-postgresshould be added.voidsetForcedTypesForXMLSchemaCollections(boolean forcedTypesForXMLSchemaCollections) Whether some additional forced types forXMLSchemaCollectionDefinitiontypes should be created automatically for columns that have non-ambiguous references to anXMLTypeDefinition.voidsetForceIntegerTypesOnZeroScaleDecimals(boolean forceIntegerTypesOnZeroScaleDecimals) Whether zero-scale decimal types should be treated as their most appropriate, corresponding integer type.final voidsetIgnoreProcedureReturnValues(boolean ignoreProcedureReturnValues) Whether this database should ignore procedure return values.final voidsetIncludeCheckConstraints(boolean includeCheckConstraints) whether check constraints should be included.final voidsetIncludeDomains(boolean includeDomains) whether domains should be included.final voidsetIncludeEmbeddables(boolean includeEmbeddables) Whether embeddable types should be included.final voidsetIncludeExcludeColumns(boolean includeExcludeColumns) Indicate whether include / exclude regular expression shall also match database columns.final voidsetIncludeExcludePackageRoutines(boolean includeExcludePackageRoutines) Indicate whether include / exclude regular expression shall also match package routines.final voidsetIncludeForeignKeys(boolean includeForeignKeys) whether foreign key relationships should be included.final voidsetIncludeIndexes(boolean includeIndexes) whether indexes should be included.final voidsetIncludeInvisibleColumns(boolean includeInvisibleColumns) Whether invisible columns should be included.final voidsetIncludePackageConstants(boolean includePackageConstants) whether package constants should be included.final voidsetIncludePackageRoutines(boolean includePackageRoutines) whether package routines should be included.final voidsetIncludePackages(boolean includePackages) whether packages should be included.final voidsetIncludePackageUDTs(boolean includePackageUDTs) whether package UDTs should be included.final voidsetIncludePrimaryKeys(boolean includePrimaryKeys) whether primary keys should be included.final voidsetIncludeRelations(boolean includeRelations) [#3559] Whether relations (i.e.final voidsetIncludeRoutines(boolean includeRoutines) whether routines should be included.final voidsetIncludes(String[] includes) Only database objects matching any of these regular expressions will be generated.final voidsetIncludeSequences(boolean includeSequences) whether sequences should be included.final voidsetIncludeSql(String sql) Only database objects matching any of the regular expressions produced by this SQL query will be generated, in addition to the ones specified byDatabase.getIncludes().final voidsetIncludeSystemCheckConstraints(boolean includeSystemCheckConstraints) whether system generated check constraints should be included.final voidsetIncludeSystemIndexes(boolean includeSystemIndexes) whether system generated indexes should be included.final voidsetIncludeSystemSequences(boolean includeSystemSequences) whether system generated sequences should be included.final voidsetIncludeSystemTables(boolean includeSystemTables) whether system generated tables should be included.final voidsetIncludeSystemUDTs(boolean includeSystemUDTs) whether system generated UDTs should be included.final voidsetIncludeTables(boolean includeTables) Whether tables (and views) should be included.voidsetIncludeTriggerRoutines(boolean includeTriggerRoutines) whether trigger routines should be included.final voidsetIncludeUDTs(boolean includeUDTs) whether user defined types should be included.final voidsetIncludeUniqueKeys(boolean includeUniqueKeys) whether unique keys should be included.final voidsetIncludeXMLSchemaCollections(boolean includeXMLSchemaCollections) whether XML schema collections should be included.final voidsetIntegerDisplayWidths(boolean integerDisplayWidths) Whether this database includes integer display widths in metadata, where applicable.final voidsetJavaTimeTypes(boolean javaTimeTypes) Whetherjava.timetypes are used, as opposed tojava.sqltypes.final voidsetLogSlowQueriesAfterSeconds(int logSlowQueriesAfterSeconds) Log slow queries after this amount of seconds.final voidsetLogSlowResultsAfterSeconds(int logSlowResultsAfterSeconds) Log slow results after this amount of seconds.final voidsetOnError(OnError onError) The behaviour when errors are encountered.final voidsetOrderProvider(Comparator<Definition> provider) The database's order provider.voidsetOverridePrimaryKeys(String[] overridePrimaryKeys) Deprecated.final voidsetProperties(Properties properties) Database properties.voidsetReadonlyComputedColumns(boolean readonlyComputedColumns) Whether computed columns columns should exposeDataType.readonly()behaviour.voidsetReadonlyIdentities(boolean readonlyIdentities) Whether identity columns should exposeDataType.readonly()behaviour.voidsetReadonlyNonUpdatableColumns(boolean readonlyNonUpdatableColumns) Whether columns that are known not to be updatable (e.g.voidsetRecordTimestampFields(String[] recordTimestampFields) Table columns matching these regular expressions will be considered as record timestamp fields in generated code.voidsetRecordVersionFields(String[] recordVersionFields) Table columns matching these regular expressions will be considered as record version fields in generated code.final voidsetRegexFlags(List<RegexFlag> regexFlags) The regular expression flags that should be applied when using regular expressions.final voidsetRegexMatchesPartialQualification(boolean regexMatchesPartialQualification) Whether the regular expressions matching database objects should match partially qualified names as well as fully qualified and unqualified names.final voidsetSchemaVersionProvider(SchemaVersionProvider schemaVersionProvider) The database's schema version provider.final voidsetSqlMatchesPartialQualification(boolean sqlMatchesPartialQualification) Whether the SQL statements matching database objects should match partially qualified names as well as fully qualified and unqualified names.final voidsetSupportsUnsignedTypes(boolean supportsUnsignedTypes) Whether this database supports unsigned types.voidsetSyntheticIdentities(String[] syntheticIdentities) Deprecated.voidsetSyntheticPrimaryKeys(String[] syntheticPrimaryKeys) Deprecated.final voidsetTableValuedFunctions(boolean tableValuedFunctions) [#4838] Whether table-valued functions should be reported as tables.final <T extends Definition>
List<T>Sort a list of definitions according to theDatabase.getOrderProvider()defined in this database.final booleanWhether this database supports unsigned types.final boolean[#4838] Whether table-valued functions should be reported as tables.
-
Constructor Details
-
AbstractDatabase
protected AbstractDatabase()
-
-
Method Details
-
getDialect
Description copied from interface:DatabaseGet the dialect for this database.- Specified by:
getDialectin interfaceDatabase
-
setDialect
Description copied from interface:DatabaseSet the dialect for this database.- Specified by:
setDialectin interfaceDatabase
-
setConnection
Description copied from interface:DatabaseInitialise a connection to this database.- Specified by:
setConnectionin interfaceDatabase
-
getConnection
Description copied from interface:DatabaseThe database connection.- Specified by:
getConnectionin interfaceDatabase
-
commercial
public boolean commercial() -
commercial
-
requireCommercial
-
create
Description copied from interface:DatabaseCreate the factory for this database. -
create
-
getRenderQuotedNames
Subclasses may override this. -
configuredDialectIsNotFamilyAndSupports
protected boolean configuredDialectIsNotFamilyAndSupports(List<SQLDialect> d, Supplier<Boolean> ifFamily) Check if the configured dialect is versioned explicitly and supports a given dialect.This can be used as an optimisation to check if a dialect supports e.g. a
SQLDialect#POSTGRES_12without needing to query the information schema. -
exists
Description copied from interface:DatabaseCheck for the existence of a table field in the dictionary views. -
exists0
[#8972] Subclasses may override this method for a more efficient implementation. -
exists1
protected final <R extends Record> boolean exists1(TableField<?, ?> find, Table<R> in, TableField<R, String> schemaQualifier, TableField<R, String> tableQualifier, TableField<R, String> columnQualifier) A utility method to look up a field in a single dictionary view.- Parameters:
find- The field to look upin- The dictionary viewschemaQualifier- The column in the dictionary view qualifying the schematableQualifier- The column in the dictionary view qualifying the tablecolumnQualifier- The column in the dictionary view qualifying the column
-
existAll
Description copied from interface:DatabaseCheck for the existence of several table fields in the dictionary views. -
exists
Description copied from interface:DatabaseCheck for the existence of a table in the dictionary views. -
exists0
[#8972] Subclasses may override this method for a more efficient implementation. -
exists1
protected final <R extends Record> boolean exists1(Table<?> find, Table<R> in, TableField<R, String> schemaQualifier, TableField<R, String> tableQualifier) A utility method to look up a table in a single dictionary view.- Parameters:
find- The table to look upin- The dictionary viewschemaQualifier- The column in the dictionary view qualifying the schematableQualifier- The column in the dictionary view qualifying the table
-
existAll
Description copied from interface:DatabaseCheck for the existence of several tables in the dictionary views. -
getSources
Description copied from interface:DatabaseGet the sources for all objects that offer sources.- Specified by:
getSourcesin interfaceDatabase
-
getCatalogs
Description copied from interface:DatabaseThe catalogs generated from this database.- Specified by:
getCatalogsin interfaceDatabase
-
getCatalog
Description copied from interface:DatabaseGet a catalog defined in this database by name.- Specified by:
getCatalogin interfaceDatabase
-
getSchemata
Description copied from interface:DatabaseThe schemata generated from this database.- Specified by:
getSchematain interfaceDatabase
-
getSchemata
Description copied from interface:DatabaseThe schemata generated from this database and a given catalog.- Specified by:
getSchematain interfaceDatabase
-
getSchema
Description copied from interface:DatabaseGet a schema defined in this database by name. -
getXMLSchemaCollections
Description copied from interface:DatabaseThe XML schema collections generated from this database.- Specified by:
getXMLSchemaCollectionsin interfaceDatabase
-
getXMLSchemaCollections
Description copied from interface:DatabaseThe XML schema collections generated from this database.- Specified by:
getXMLSchemaCollectionsin interfaceDatabase
-
getXMLSchemaCollection
public final XMLSchemaCollectionDefinition getXMLSchemaCollection(SchemaDefinition schema, String inputName) Description copied from interface:DatabaseThe XML schema collection generated from this database by name- Specified by:
getXMLSchemaCollectionin interfaceDatabase
-
getInputCatalogs
Description copied from interface:DatabaseThe input catalogs are the catalogs that jooq-meta is reading data from.- Specified by:
getInputCatalogsin interfaceDatabase
-
getInputSchemata
Description copied from interface:DatabaseThe input schemata are the schemata from all catalogs that jooq-meta is reading data from.This will combine the schemata from all catalogs in a single list. If you're working with a multi-catalog environment, you may want to call
Database.getInputSchemata(String)instead to disambiguate schema names (e.g. in SQL Server, there are multiple "dbo" schemas).- Specified by:
getInputSchematain interfaceDatabase
-
getInputSchemata
Description copied from interface:DatabaseThe input schemata are the schemata from a given catalog that jooq-meta is reading data from.- Specified by:
getInputSchematain interfaceDatabase
-
getInputSchemata
Description copied from interface:DatabaseThe input schemata are the schemata from a given catalog that jooq-meta is reading data from.- Specified by:
getInputSchematain interfaceDatabase
-
getOutputCatalog
Deprecated.Description copied from interface:DatabaseThe output catalog is the catalog used by jooq-codegen in class names.- Specified by:
getOutputCatalogin interfaceDatabase
-
getOutputSchema
Deprecated.Description copied from interface:DatabaseThe output schema is the schema used by jooq-codegen in class names.- Specified by:
getOutputSchemain interfaceDatabase
-
getOutputSchema
Description copied from interface:DatabaseThe output schema is the schema used by jooq-codegen in class names.- Specified by:
getOutputSchemain interfaceDatabase
-
setConfiguredCatalogs
Description copied from interface:DatabaseThe input and output catalogs.- Specified by:
setConfiguredCatalogsin interfaceDatabase
-
setConfiguredSchemata
Description copied from interface:DatabaseThe input and output schemata.- Specified by:
setConfiguredSchematain interfaceDatabase
-
setProperties
Description copied from interface:DatabaseDatabase properties.These properties are typically used by database implementations like the jooq-meta-extensions's
JPADatabase(reverse-engineering JPA-annotated entities: properties are used to describe entity lookup paths) or theXMLDatabase(reverse-engineering an XML file: properties are used to describe the XML file's location).User-defined database implementations may use these properties for the same reason.
- Specified by:
setPropertiesin interfaceDatabase
-
getProperties
Description copied from interface:DatabaseDatabase properties.These properties are typically used by database implementations like the jooq-meta-extensions's
JPADatabase(reverse-engineering JPA-annotated entities: properties are used to describe entity lookup paths) or theXMLDatabase(reverse-engineering an XML file: properties are used to describe the XML file's location).User-defined database implementations may use these properties for the same reason.
- Specified by:
getPropertiesin interfaceDatabase
-
setBasedir
Description copied from interface:DatabaseThe basedir that can be used by file based implementations to resolve relative paths.- Specified by:
setBasedirin interfaceDatabase
-
getBasedir
Description copied from interface:DatabaseThe basedir that can be used by file based implementations to resolve relative paths.- Specified by:
getBasedirin interfaceDatabase
-
setOnError
Description copied from interface:DatabaseThe behaviour when errors are encountered.- Specified by:
setOnErrorin interfaceDatabase
-
onError
Description copied from interface:DatabaseThe behaviour when errors are encountered. -
getFilters
Description copied from interface:Database[#3488] The filters that are applied in addition to include / exclude.- Specified by:
getFiltersin interfaceDatabase
-
addFilter
Description copied from interface:Database[#3488] Add an additional filter to the database that is applied in addition to include / exclude. -
setExcludes
Description copied from interface:DatabaseDatabase objects matching any of these regular expressions will not be generated.- Specified by:
setExcludesin interfaceDatabase
-
getExcludes
Description copied from interface:DatabaseDatabase objects matching any of these regular expressions will not be generated.- Specified by:
getExcludesin interfaceDatabase
-
setExcludeSql
Description copied from interface:DatabaseDatabase objects matching any of the regular expressions produced by this SQL query will not be generated, in addition to the ones specified byDatabase.getExcludes().- Specified by:
setExcludeSqlin interfaceDatabase
-
getExcludeSql
Description copied from interface:DatabaseDatabase objects matching any of the regular expressions produced by this SQL query will not be generated, in addition to the ones specified byDatabase.getExcludes().- Specified by:
getExcludeSqlin interfaceDatabase
-
setIncludes
Description copied from interface:DatabaseOnly database objects matching any of these regular expressions will be generated.- Specified by:
setIncludesin interfaceDatabase
-
getIncludes
Description copied from interface:DatabaseOnly database objects matching any of these regular expressions will be generated.- Specified by:
getIncludesin interfaceDatabase
-
setIncludeSql
Description copied from interface:DatabaseOnly database objects matching any of the regular expressions produced by this SQL query will be generated, in addition to the ones specified byDatabase.getIncludes().- Specified by:
setIncludeSqlin interfaceDatabase
-
getIncludeSql
Description copied from interface:DatabaseOnly database objects matching any of the regular expressions produced by this SQL query will be generated, in addition to the ones specified byDatabase.getIncludes().- Specified by:
getIncludeSqlin interfaceDatabase
-
setIncludeExcludeColumns
public final void setIncludeExcludeColumns(boolean includeExcludeColumns) Description copied from interface:DatabaseIndicate whether include / exclude regular expression shall also match database columns.- Specified by:
setIncludeExcludeColumnsin interfaceDatabase
-
getIncludeExcludeColumns
public final boolean getIncludeExcludeColumns()Description copied from interface:DatabaseIndicate whether include / exclude regular expression shall also match database columns.- Specified by:
getIncludeExcludeColumnsin interfaceDatabase
-
setIncludeExcludePackageRoutines
public final void setIncludeExcludePackageRoutines(boolean includeExcludePackageRoutines) Description copied from interface:DatabaseIndicate whether include / exclude regular expression shall also match package routines.- Specified by:
setIncludeExcludePackageRoutinesin interfaceDatabase
-
getIncludeExcludePackageRoutines
public final boolean getIncludeExcludePackageRoutines()Description copied from interface:DatabaseIndicate whether include / exclude regular expression shall also match package routines.- Specified by:
getIncludeExcludePackageRoutinesin interfaceDatabase
-
setIncludeInvisibleColumns
public final void setIncludeInvisibleColumns(boolean includeInvisibleColumns) Description copied from interface:DatabaseWhether invisible columns should be included.- Specified by:
setIncludeInvisibleColumnsin interfaceDatabase
-
getIncludeInvisibleColumns
public final boolean getIncludeInvisibleColumns()Description copied from interface:DatabaseWhether invisible columns should be included.- Specified by:
getIncludeInvisibleColumnsin interfaceDatabase
-
getIncludeTables
public final boolean getIncludeTables()Description copied from interface:DatabaseWhether tables (and views) should be included.- Specified by:
getIncludeTablesin interfaceDatabase
-
setIncludeTables
public final void setIncludeTables(boolean includeTables) Description copied from interface:DatabaseWhether tables (and views) should be included.- Specified by:
setIncludeTablesin interfaceDatabase
-
getIncludeEmbeddables
public final boolean getIncludeEmbeddables()Description copied from interface:DatabaseWhether embeddable types should be included.- Specified by:
getIncludeEmbeddablesin interfaceDatabase
-
setIncludeEmbeddables
public final void setIncludeEmbeddables(boolean includeEmbeddables) Description copied from interface:DatabaseWhether embeddable types should be included.- Specified by:
setIncludeEmbeddablesin interfaceDatabase
-
getIncludeRoutines
public final boolean getIncludeRoutines()Description copied from interface:Databasewhether routines should be included.- Specified by:
getIncludeRoutinesin interfaceDatabase
-
setIncludeRoutines
public final void setIncludeRoutines(boolean includeRoutines) Description copied from interface:Databasewhether routines should be included.- Specified by:
setIncludeRoutinesin interfaceDatabase
-
setIncludeTriggerRoutines
public void setIncludeTriggerRoutines(boolean includeTriggerRoutines) Description copied from interface:Databasewhether trigger routines should be included.- Specified by:
setIncludeTriggerRoutinesin interfaceDatabase
-
getIncludeTriggerRoutines
public boolean getIncludeTriggerRoutines()Description copied from interface:Databasewhether trigger routines should be included.- Specified by:
getIncludeTriggerRoutinesin interfaceDatabase
-
getIncludePackages
public final boolean getIncludePackages()Description copied from interface:Databasewhether packages should be included.- Specified by:
getIncludePackagesin interfaceDatabase
-
setIncludePackages
public final void setIncludePackages(boolean includePackages) Description copied from interface:Databasewhether packages should be included.- Specified by:
setIncludePackagesin interfaceDatabase
-
getIncludePackageRoutines
public final boolean getIncludePackageRoutines()Description copied from interface:Databasewhether package routines should be included.- Specified by:
getIncludePackageRoutinesin interfaceDatabase
-
setIncludePackageRoutines
public final void setIncludePackageRoutines(boolean includePackageRoutines) Description copied from interface:Databasewhether package routines should be included.- Specified by:
setIncludePackageRoutinesin interfaceDatabase
-
getIncludePackageUDTs
public final boolean getIncludePackageUDTs()Description copied from interface:Databasewhether package UDTs should be included.- Specified by:
getIncludePackageUDTsin interfaceDatabase
-
setIncludePackageUDTs
public final void setIncludePackageUDTs(boolean includePackageUDTs) Description copied from interface:Databasewhether package UDTs should be included.- Specified by:
setIncludePackageUDTsin interfaceDatabase
-
getIncludePackageConstants
public final boolean getIncludePackageConstants()Description copied from interface:Databasewhether package constants should be included.- Specified by:
getIncludePackageConstantsin interfaceDatabase
-
setIncludePackageConstants
public final void setIncludePackageConstants(boolean includePackageConstants) Description copied from interface:Databasewhether package constants should be included.- Specified by:
setIncludePackageConstantsin interfaceDatabase
-
getIncludeXMLSchemaCollections
public final boolean getIncludeXMLSchemaCollections()Description copied from interface:Databasewhether XML schema collections should be included.- Specified by:
getIncludeXMLSchemaCollectionsin interfaceDatabase
-
setIncludeXMLSchemaCollections
public final void setIncludeXMLSchemaCollections(boolean includeXMLSchemaCollections) Description copied from interface:Databasewhether XML schema collections should be included.- Specified by:
setIncludeXMLSchemaCollectionsin interfaceDatabase
-
getIncludeUDTs
public final boolean getIncludeUDTs()Description copied from interface:Databasewhether user defined types should be included.- Specified by:
getIncludeUDTsin interfaceDatabase
-
setIncludeUDTs
public final void setIncludeUDTs(boolean includeUDTs) Description copied from interface:Databasewhether user defined types should be included.- Specified by:
setIncludeUDTsin interfaceDatabase
-
getIncludeDomains
public final boolean getIncludeDomains()Description copied from interface:Databasewhether domains should be included.- Specified by:
getIncludeDomainsin interfaceDatabase
-
setIncludeDomains
public final void setIncludeDomains(boolean includeDomains) Description copied from interface:Databasewhether domains should be included.- Specified by:
setIncludeDomainsin interfaceDatabase
-
getIncludeSequences
public final boolean getIncludeSequences()Description copied from interface:Databasewhether sequences should be included.- Specified by:
getIncludeSequencesin interfaceDatabase
-
setIncludeSequences
public final void setIncludeSequences(boolean includeSequences) Description copied from interface:Databasewhether sequences should be included.- Specified by:
setIncludeSequencesin interfaceDatabase
-
setIncludeCheckConstraints
public final void setIncludeCheckConstraints(boolean includeCheckConstraints) Description copied from interface:Databasewhether check constraints should be included.- Specified by:
setIncludeCheckConstraintsin interfaceDatabase
-
getIncludeCheckConstraints
public final boolean getIncludeCheckConstraints()Description copied from interface:Databasewhether check constraints should be included.- Specified by:
getIncludeCheckConstraintsin interfaceDatabase
-
setIncludeSystemTables
public final void setIncludeSystemTables(boolean includeSystemTables) Description copied from interface:Databasewhether system generated tables should be included.- Specified by:
setIncludeSystemTablesin interfaceDatabase
-
getIncludeSystemTables
public final boolean getIncludeSystemTables()Description copied from interface:Databasewhether system generated tables should be included.- Specified by:
getIncludeSystemTablesin interfaceDatabase
-
setIncludeSystemIndexes
public final void setIncludeSystemIndexes(boolean includeSystemIndexes) Description copied from interface:Databasewhether system generated indexes should be included.- Specified by:
setIncludeSystemIndexesin interfaceDatabase
-
getIncludeSystemIndexes
public final boolean getIncludeSystemIndexes()Description copied from interface:Databasewhether system generated indexes should be included.- Specified by:
getIncludeSystemIndexesin interfaceDatabase
-
setIncludeSystemCheckConstraints
public final void setIncludeSystemCheckConstraints(boolean includeSystemCheckConstraints) Description copied from interface:Databasewhether system generated check constraints should be included.- Specified by:
setIncludeSystemCheckConstraintsin interfaceDatabase
-
getIncludeSystemCheckConstraints
public final boolean getIncludeSystemCheckConstraints()Description copied from interface:Databasewhether system generated check constraints should be included.- Specified by:
getIncludeSystemCheckConstraintsin interfaceDatabase
-
setIncludeSystemSequences
public final void setIncludeSystemSequences(boolean includeSystemSequences) Description copied from interface:Databasewhether system generated sequences should be included.- Specified by:
setIncludeSystemSequencesin interfaceDatabase
-
getIncludeSystemSequences
public final boolean getIncludeSystemSequences()Description copied from interface:Databasewhether system generated sequences should be included.- Specified by:
getIncludeSystemSequencesin interfaceDatabase
-
setIncludeSystemUDTs
public final void setIncludeSystemUDTs(boolean includeSystemUDTs) Description copied from interface:Databasewhether system generated UDTs should be included.- Specified by:
setIncludeSystemUDTsin interfaceDatabase
-
getIncludeSystemUDTs
public final boolean getIncludeSystemUDTs()Description copied from interface:Databasewhether system generated UDTs should be included.- Specified by:
getIncludeSystemUDTsin interfaceDatabase
-
setIncludeIndexes
public final void setIncludeIndexes(boolean includeIndexes) Description copied from interface:Databasewhether indexes should be included.- Specified by:
setIncludeIndexesin interfaceDatabase
-
getIncludeIndexes
public final boolean getIncludeIndexes()Description copied from interface:Databasewhether indexes should be included.- Specified by:
getIncludeIndexesin interfaceDatabase
-
getIncludePrimaryKeys
public final boolean getIncludePrimaryKeys()Description copied from interface:Databasewhether primary keys should be included.- Specified by:
getIncludePrimaryKeysin interfaceDatabase
-
setIncludePrimaryKeys
public final void setIncludePrimaryKeys(boolean includePrimaryKeys) Description copied from interface:Databasewhether primary keys should be included.- Specified by:
setIncludePrimaryKeysin interfaceDatabase
-
getIncludeUniqueKeys
public final boolean getIncludeUniqueKeys()Description copied from interface:Databasewhether unique keys should be included.- Specified by:
getIncludeUniqueKeysin interfaceDatabase
-
setIncludeUniqueKeys
public final void setIncludeUniqueKeys(boolean includeUniqueKeys) Description copied from interface:Databasewhether unique keys should be included.- Specified by:
setIncludeUniqueKeysin interfaceDatabase
-
getIncludeForeignKeys
public final boolean getIncludeForeignKeys()Description copied from interface:Databasewhether foreign key relationships should be included.- Specified by:
getIncludeForeignKeysin interfaceDatabase
-
setIncludeForeignKeys
public final void setIncludeForeignKeys(boolean includeForeignKeys) Description copied from interface:Databasewhether foreign key relationships should be included.- Specified by:
setIncludeForeignKeysin interfaceDatabase
-
setRegexFlags
Description copied from interface:DatabaseThe regular expression flags that should be applied when using regular expressions.- Specified by:
setRegexFlagsin interfaceDatabase
-
getRegexFlags
Description copied from interface:DatabaseThe regular expression flags that should be applied when using regular expressions.- Specified by:
getRegexFlagsin interfaceDatabase
-
setRegexMatchesPartialQualification
public final void setRegexMatchesPartialQualification(boolean regexMatchesPartialQualification) Description copied from interface:DatabaseWhether the regular expressions matching database objects should match partially qualified names as well as fully qualified and unqualified names.- Specified by:
setRegexMatchesPartialQualificationin interfaceDatabase
-
getRegexMatchesPartialQualification
public final boolean getRegexMatchesPartialQualification()Description copied from interface:DatabaseWhether the regular expressions matching database objects should match partially qualified names as well as fully qualified and unqualified names.- Specified by:
getRegexMatchesPartialQualificationin interfaceDatabase
-
setSqlMatchesPartialQualification
public final void setSqlMatchesPartialQualification(boolean sqlMatchesPartialQualification) Description copied from interface:DatabaseWhether the SQL statements matching database objects should match partially qualified names as well as fully qualified and unqualified names.- Specified by:
setSqlMatchesPartialQualificationin interfaceDatabase
-
getSqlMatchesPartialQualification
public final boolean getSqlMatchesPartialQualification()Description copied from interface:DatabaseWhether the SQL statements matching database objects should match partially qualified names as well as fully qualified and unqualified names.- Specified by:
getSqlMatchesPartialQualificationin interfaceDatabase
-
setRecordVersionFields
Description copied from interface:DatabaseTable columns matching these regular expressions will be considered as record version fields in generated code.- Specified by:
setRecordVersionFieldsin interfaceDatabase
-
getRecordVersionFields
Description copied from interface:DatabaseTable columns matching these regular expressions will be considered as record version fields in generated code.- Specified by:
getRecordVersionFieldsin interfaceDatabase
-
setRecordTimestampFields
Description copied from interface:DatabaseTable columns matching these regular expressions will be considered as record timestamp fields in generated code.- Specified by:
setRecordTimestampFieldsin interfaceDatabase
-
getRecordTimestampFields
Description copied from interface:DatabaseTable columns matching these regular expressions will be considered as record timestamp fields in generated code.- Specified by:
getRecordTimestampFieldsin interfaceDatabase
-
setSyntheticPrimaryKeys
Deprecated.Description copied from interface:DatabaseColumns matching these regular expressions will be considered as members of synthetic primary keys in generated code.- Specified by:
setSyntheticPrimaryKeysin interfaceDatabase
-
getSyntheticPrimaryKeys
Deprecated.Description copied from interface:DatabaseColumns matching these regular expressions will be considered as members of synthetic primary keys in generated code.- Specified by:
getSyntheticPrimaryKeysin interfaceDatabase
-
setOverridePrimaryKeys
Deprecated.Description copied from interface:DatabaseUnique keys matching these regular expressions will be considered as primary keys in generated code.- Specified by:
setOverridePrimaryKeysin interfaceDatabase
-
getOverridePrimaryKeys
Deprecated.Description copied from interface:DatabaseUnique keys matching these regular expressions will be considered as primary keys in generated code.- Specified by:
getOverridePrimaryKeysin interfaceDatabase
-
setSyntheticIdentities
Deprecated.Description copied from interface:DatabaseColumns matching these regular expressions will be considered as identity columns in generated code.- Specified by:
setSyntheticIdentitiesin interfaceDatabase
-
getSyntheticIdentities
Deprecated.Description copied from interface:DatabaseColumns matching these regular expressions will be considered as identity columns in generated code.- Specified by:
getSyntheticIdentitiesin interfaceDatabase
-
setConfiguredEnumTypes
Description copied from interface:DatabaseDatabase objects matching any of these field names will be generated as enum types.- Specified by:
setConfiguredEnumTypesin interfaceDatabase
-
getConfiguredEnumTypes
Description copied from interface:DatabaseDatabase objects matching any of these field names will be generated as enum types.- Specified by:
getConfiguredEnumTypesin interfaceDatabase
-
setConfiguredCustomTypes
Deprecated.Description copied from interface:DatabaseDatabase objects matching any of these field names will be generated as custom types.- Specified by:
setConfiguredCustomTypesin interfaceDatabase
-
getConfiguredCustomTypes
Deprecated.Description copied from interface:DatabaseDatabase objects matching any of these field names will be generated as custom types.- Specified by:
getConfiguredCustomTypesin interfaceDatabase
-
getConfiguredCustomType
Deprecated.Description copied from interface:DatabaseGet a specific configured custom type by its name.- Specified by:
getConfiguredCustomTypein interfaceDatabase
-
markUsed
Description copied from interface:DatabaseMark a forced type as used. -
getUnusedForcedTypes
Description copied from interface:DatabaseRetrieve the not-yet used forced types.- Specified by:
getUnusedForcedTypesin interfaceDatabase
-
setConfiguredForcedTypes
Description copied from interface:DatabaseDatabase objects matching any of these field names will be generated as forced types.- Specified by:
setConfiguredForcedTypesin interfaceDatabase
-
getConfiguredForcedTypes
Description copied from interface:DatabaseDatabase objects matching any of these field names will be generated as forced types.- Specified by:
getConfiguredForcedTypesin interfaceDatabase
-
getForcedTypesForBuiltinDataTypeExtensions
public boolean getForcedTypesForBuiltinDataTypeExtensions()Description copied from interface:DatabaseWhether some additional forced types for built in data type extensions, such as the ones fromjooq-codegen-postgresshould be added.- Specified by:
getForcedTypesForBuiltinDataTypeExtensionsin interfaceDatabase
-
setForcedTypesForBuiltinDataTypeExtensions
public void setForcedTypesForBuiltinDataTypeExtensions(boolean forcedTypesForBuiltinDataTypeExtensions) Description copied from interface:DatabaseWhether some additional forced types for built in data type extensions, such as the ones fromjooq-codegen-postgresshould be added.- Specified by:
setForcedTypesForBuiltinDataTypeExtensionsin interfaceDatabase
-
getForcedTypesForXMLSchemaCollections
public boolean getForcedTypesForXMLSchemaCollections()Description copied from interface:DatabaseWhether some additional forced types forXMLSchemaCollectionDefinitiontypes should be created automatically for columns that have non-ambiguous references to anXMLTypeDefinition.This feature is available in the commercial distribution only.
- Specified by:
getForcedTypesForXMLSchemaCollectionsin interfaceDatabase
-
setForcedTypesForXMLSchemaCollections
public void setForcedTypesForXMLSchemaCollections(boolean forcedTypesForXMLSchemaCollections) Description copied from interface:DatabaseWhether some additional forced types forXMLSchemaCollectionDefinitiontypes should be created automatically for columns that have non-ambiguous references to anXMLTypeDefinition.This feature is available in the commercial distribution only.
- Specified by:
setForcedTypesForXMLSchemaCollectionsin interfaceDatabase
-
getLogSlowQueriesAfterSeconds
public final int getLogSlowQueriesAfterSeconds()Description copied from interface:DatabaseLog slow queries after this amount of seconds.- Specified by:
getLogSlowQueriesAfterSecondsin interfaceDatabase
-
setLogSlowQueriesAfterSeconds
public final void setLogSlowQueriesAfterSeconds(int logSlowQueriesAfterSeconds) Description copied from interface:DatabaseLog slow queries after this amount of seconds.- Specified by:
setLogSlowQueriesAfterSecondsin interfaceDatabase
-
getLogSlowResultsAfterSeconds
public final int getLogSlowResultsAfterSeconds()Description copied from interface:DatabaseLog slow results after this amount of seconds.- Specified by:
getLogSlowResultsAfterSecondsin interfaceDatabase
-
setLogSlowResultsAfterSeconds
public final void setLogSlowResultsAfterSeconds(int logSlowResultsAfterSeconds) Description copied from interface:DatabaseLog slow results after this amount of seconds.- Specified by:
setLogSlowResultsAfterSecondsin interfaceDatabase
-
getSchemaVersionProvider
Description copied from interface:DatabaseThe database's schema version provider.- Specified by:
getSchemaVersionProviderin interfaceDatabase
-
setSchemaVersionProvider
Description copied from interface:DatabaseThe database's schema version provider.- Specified by:
setSchemaVersionProviderin interfaceDatabase
-
getCatalogVersionProvider
Description copied from interface:DatabaseThe database's catalog version provider.- Specified by:
getCatalogVersionProviderin interfaceDatabase
-
setCatalogVersionProvider
Description copied from interface:DatabaseThe database's catalog version provider.- Specified by:
setCatalogVersionProviderin interfaceDatabase
-
getOrderProvider
Description copied from interface:DatabaseThe database's order provider.- Specified by:
getOrderProviderin interfaceDatabase
-
setOrderProvider
Description copied from interface:DatabaseThe database's order provider.- Specified by:
setOrderProviderin interfaceDatabase
-
setSupportsUnsignedTypes
public final void setSupportsUnsignedTypes(boolean supportsUnsignedTypes) Description copied from interface:DatabaseWhether this database supports unsigned types.- Specified by:
setSupportsUnsignedTypesin interfaceDatabase
-
supportsUnsignedTypes
public final boolean supportsUnsignedTypes()Description copied from interface:DatabaseWhether this database supports unsigned types.- Specified by:
supportsUnsignedTypesin interfaceDatabase
-
setIntegerDisplayWidths
public final void setIntegerDisplayWidths(boolean integerDisplayWidths) Description copied from interface:DatabaseWhether this database includes integer display widths in metadata, where applicable.- Specified by:
setIntegerDisplayWidthsin interfaceDatabase
-
integerDisplayWidths
public final boolean integerDisplayWidths()Description copied from interface:DatabaseWhether this database includes integer display widths in metadata, where applicable.- Specified by:
integerDisplayWidthsin interfaceDatabase
-
setIgnoreProcedureReturnValues
public final void setIgnoreProcedureReturnValues(boolean ignoreProcedureReturnValues) Description copied from interface:DatabaseWhether this database should ignore procedure return values.- Specified by:
setIgnoreProcedureReturnValuesin interfaceDatabase
-
ignoreProcedureReturnValues
public final boolean ignoreProcedureReturnValues()Description copied from interface:DatabaseWhether this database should ignore procedure return values.- Specified by:
ignoreProcedureReturnValuesin interfaceDatabase
-
setDateAsTimestamp
public final void setDateAsTimestamp(boolean dateAsTimestamp) Description copied from interface:DatabaseWhether DATE columns should be treated as TIMESTAMP columns.- Specified by:
setDateAsTimestampin interfaceDatabase
-
dateAsTimestamp
public final boolean dateAsTimestamp()Description copied from interface:DatabaseWhether DATE columns should be treated as TIMESTAMP columns.- Specified by:
dateAsTimestampin interfaceDatabase
-
setJavaTimeTypes
public final void setJavaTimeTypes(boolean javaTimeTypes) Description copied from interface:DatabaseWhetherjava.timetypes are used, as opposed tojava.sqltypes.- Specified by:
setJavaTimeTypesin interfaceDatabase
-
javaTimeTypes
public final boolean javaTimeTypes()Description copied from interface:DatabaseWhetherjava.timetypes are used, as opposed tojava.sqltypes.- Specified by:
javaTimeTypesin interfaceDatabase
-
setIncludeRelations
public final void setIncludeRelations(boolean includeRelations) Description copied from interface:Database[#3559] Whether relations (i.e. constraints) should be included in this database.- Specified by:
setIncludeRelationsin interfaceDatabase
-
includeRelations
public final boolean includeRelations()Description copied from interface:Database[#3559] Whether relations (i.e. constraints) should be included in this database.- Specified by:
includeRelationsin interfaceDatabase
-
setForceIntegerTypesOnZeroScaleDecimals
public void setForceIntegerTypesOnZeroScaleDecimals(boolean forceIntegerTypesOnZeroScaleDecimals) Description copied from interface:DatabaseWhether zero-scale decimal types should be treated as their most appropriate, corresponding integer type.- Specified by:
setForceIntegerTypesOnZeroScaleDecimalsin interfaceDatabase
-
getForceIntegerTypesOnZeroScaleDecimals
public boolean getForceIntegerTypesOnZeroScaleDecimals()Description copied from interface:DatabaseWhether zero-scale decimal types should be treated as their most appropriate, corresponding integer type.- Specified by:
getForceIntegerTypesOnZeroScaleDecimalsin interfaceDatabase
-
setTableValuedFunctions
public final void setTableValuedFunctions(boolean tableValuedFunctions) Description copied from interface:Database[#4838] Whether table-valued functions should be reported as tables.- Specified by:
setTableValuedFunctionsin interfaceDatabase
-
tableValuedFunctions
public final boolean tableValuedFunctions()Description copied from interface:Database[#4838] Whether table-valued functions should be reported as tables.- Specified by:
tableValuedFunctionsin interfaceDatabase
-
getSequences
Description copied from interface:DatabaseThe sequences contained in this database.- Specified by:
getSequencesin interfaceDatabase
-
getSequences
Description copied from interface:DatabaseThe sequences contained in this database.- Specified by:
getSequencesin interfaceDatabase
-
getIdentities
Description copied from interface:DatabaseThe identities contained in this database.- Specified by:
getIdentitiesin interfaceDatabase
-
getUniqueKeys
Description copied from interface:DatabaseThe unique keys contained in this database.- Specified by:
getUniqueKeysin interfaceDatabase
-
getPrimaryKeys
Description copied from interface:DatabaseThe primary keys contained in this database.- Specified by:
getPrimaryKeysin interfaceDatabase
-
getPrimaryKeys
Description copied from interface:DatabaseThe primary keys contained in this database.- Specified by:
getPrimaryKeysin interfaceDatabase
-
getUniqueKeys
Description copied from interface:DatabaseThe unique keys contained in this database.- Specified by:
getUniqueKeysin interfaceDatabase
-
getKeys
Description copied from interface:DatabaseThe unique and primary keys contained in this database. -
getKeys
Description copied from interface:DatabaseThe unique and primary keys contained in this database. -
getForeignKeys
Description copied from interface:DatabaseThe foreign keys contained in this database.- Specified by:
getForeignKeysin interfaceDatabase
-
getForeignKeys
Description copied from interface:DatabaseThe foreign keys contained in this database.- Specified by:
getForeignKeysin interfaceDatabase
-
getCheckConstraints
Description copied from interface:DatabaseThe check constraints contained in this database.- Specified by:
getCheckConstraintsin interfaceDatabase
-
getTables
Description copied from interface:DatabaseThe tables contained in this database. -
getTables
Description copied from interface:DatabaseThe tables contained in this database. -
getTable
Description copied from interface:DatabaseGet a table in this database by name. -
getTable
Description copied from interface:DatabaseGet a table in this database by name. -
getTable
Description copied from interface:DatabaseGet a table in this database by name. -
getTable
Description copied from interface:DatabaseGet a table in this database by name. -
getEnums
Description copied from interface:DatabaseThe enum UDTs defined in this database. -
getConfiguredForcedType
Description copied from interface:DatabaseGet the configured forced type object for any givenDefinition, ornullif noForcedTypematches the definition.- Specified by:
getConfiguredForcedTypein interfaceDatabase
-
getConfiguredForcedType
public final ForcedType getConfiguredForcedType(Definition definition, DataTypeDefinition definedType) Description copied from interface:DatabaseGet the configured forced type object for any givenDefinition, ornullif noForcedTypematches the definition.- Specified by:
getConfiguredForcedTypein interfaceDatabase
-
markUsed
Description copied from interface:DatabaseMark an embeddable as used. -
getUnusedEmbeddables
Description copied from interface:DatabaseRetrieve the not-yet used embeddables.- Specified by:
getUnusedEmbeddablesin interfaceDatabase
-
setConfiguredEmbeddables
Description copied from interface:DatabaseConfigure the embeddable types.- Specified by:
setConfiguredEmbeddablesin interfaceDatabase
-
getConfiguredEmbeddables
Description copied from interface:DatabaseGet the configured embeddable type definitions for any givenDefinition.- Specified by:
getConfiguredEmbeddablesin interfaceDatabase
-
embeddablePrimaryKeys
Description copied from interface:DatabaseA regular expression matching primary keys for which embeddable types should be generated.This feature is available in the commercial distribution only.
- Specified by:
embeddablePrimaryKeysin interfaceDatabase
-
setEmbeddablePrimaryKeys
Description copied from interface:DatabaseA regular expression matching primary keys for which embeddable types should be generated.This feature is available in the commercial distribution only.
- Specified by:
setEmbeddablePrimaryKeysin interfaceDatabase
-
embeddableUniqueKeys
Description copied from interface:DatabaseA regular expression matching unique keys for which embeddable types should be generated.This feature is available in the commercial distribution only.
- Specified by:
embeddableUniqueKeysin interfaceDatabase
-
setEmbeddableUniqueKeys
Description copied from interface:DatabaseA regular expression matching unique keys for which embeddable types should be generated.This feature is available in the commercial distribution only.
- Specified by:
setEmbeddableUniqueKeysin interfaceDatabase
-
embeddableDomains
Description copied from interface:DatabaseA regular expression matching domain type definitions for which embeddable types should be generated.This feature is available in the commercial distribution only.
- Specified by:
embeddableDomainsin interfaceDatabase
-
setEmbeddableDomains
Description copied from interface:DatabaseA regular expression matching domain type definitions for which embeddable types should be generated.This feature is available in the commercial distribution only.
- Specified by:
setEmbeddableDomainsin interfaceDatabase
-
readonlyIdentities
public boolean readonlyIdentities()Description copied from interface:DatabaseWhether identity columns should exposeDataType.readonly()behaviour.This feature is available in the commercial distribution only.
- Specified by:
readonlyIdentitiesin interfaceDatabase
-
setReadonlyIdentities
public void setReadonlyIdentities(boolean readonlyIdentities) Description copied from interface:DatabaseWhether identity columns should exposeDataType.readonly()behaviour.This feature is available in the commercial distribution only.
- Specified by:
setReadonlyIdentitiesin interfaceDatabase
-
readonlyComputedColumns
public boolean readonlyComputedColumns()Description copied from interface:DatabaseWhether computed columns columns should exposeDataType.readonly()behaviour.This feature is available in the commercial distribution only.
- Specified by:
readonlyComputedColumnsin interfaceDatabase
-
setReadonlyComputedColumns
public void setReadonlyComputedColumns(boolean readonlyComputedColumns) Description copied from interface:DatabaseWhether computed columns columns should exposeDataType.readonly()behaviour.This feature is available in the commercial distribution only.
- Specified by:
setReadonlyComputedColumnsin interfaceDatabase
-
readonlyNonUpdatableColumns
public boolean readonlyNonUpdatableColumns()Description copied from interface:DatabaseWhether columns that are known not to be updatable (e.g. in views) should exposeDataType.readonly()behaviour.This feature is available in the commercial distribution only.
- Specified by:
readonlyNonUpdatableColumnsin interfaceDatabase
-
setReadonlyNonUpdatableColumns
public void setReadonlyNonUpdatableColumns(boolean readonlyNonUpdatableColumns) Description copied from interface:DatabaseWhether columns that are known not to be updatable (e.g. in views) should exposeDataType.readonly()behaviour.This feature is available in the commercial distribution only.
- Specified by:
setReadonlyNonUpdatableColumnsin interfaceDatabase
-
getEmbeddables
Description copied from interface:DatabaseGet all embeddables.- Specified by:
getEmbeddablesin interfaceDatabase
-
getEmbeddables
Description copied from interface:DatabaseGet all embeddables for a given defining schema.- Specified by:
getEmbeddablesin interfaceDatabase
-
getEmbeddables
Description copied from interface:DatabaseGet all embeddables for a given defining table.- Specified by:
getEmbeddablesin interfaceDatabase
-
getEmbeddablesByReferencingTable
Description copied from interface:DatabaseGet all embeddables for a given referencing table.- Specified by:
getEmbeddablesByReferencingTablein interfaceDatabase
-
getEnum
Description copied from interface:DatabaseGet an enum UDT defined in this database by name. -
getEnum
Description copied from interface:DatabaseGet an enum UDT defined in this database by name. -
getEnum
Description copied from interface:DatabaseGet an enum UDT defined in this database by name. -
getEnum
Description copied from interface:DatabaseGet an enum UDT defined in this database by name. -
getDomains
Description copied from interface:DatabaseThe domain UDTs defined in this database.- Specified by:
getDomainsin interfaceDatabase
-
getDomains
Description copied from interface:DatabaseThe domain UDTs defined in this database.- Specified by:
getDomainsin interfaceDatabase
-
getDomain
Description copied from interface:DatabaseGet an domain UDT defined in this database by name. -
getDomain
Description copied from interface:DatabaseGet an domain UDT defined in this database by name. -
getDomain
Description copied from interface:DatabaseGet an domain UDT defined in this database by name. -
getDomain
Description copied from interface:DatabaseGet an domain UDT defined in this database by name. -
getArrays
Description copied from interface:DatabaseThe Arrays defined in this database. -
getArray
Description copied from interface:DatabaseGet a ARRAY defined in this database by name. -
getArray
Description copied from interface:DatabaseGet a ARRAY defined in this database by name. -
getArray
Description copied from interface:DatabaseGet a ARRAY defined in this database by name. -
getArray
Description copied from interface:DatabaseGet a ARRAY defined in this database by name. -
getUDTs
Description copied from interface:DatabaseThe UDTs defined in this database. -
getUDTs
Description copied from interface:DatabaseThe UDTs defined in this database. -
getUDT
Description copied from interface:DatabaseGet a UDT defined in this database by name. -
getUDT
Description copied from interface:DatabaseGet a UDT defined in this database by name. -
getUDT
Description copied from interface:DatabaseGet a UDT defined in this database by name. -
getUDT
Description copied from interface:DatabaseGet a UDT defined in this database by name. -
getUDTs
Description copied from interface:DatabaseThe UDTs defined in this database. -
getRelations
Description copied from interface:DatabaseRetrieve the schema's primary key / foreign key relations.- Specified by:
getRelationsin interfaceDatabase
-
getIndexes
Description copied from interface:DatabaseThe indexes contained in this database.- Specified by:
getIndexesin interfaceDatabase
-
getIndexes
Description copied from interface:DatabaseThe indexes contained in this database.- Specified by:
getIndexesin interfaceDatabase
-
getRoutines
Description copied from interface:DatabaseThe stored routines (procedures and functions) contained in this database.- Specified by:
getRoutinesin interfaceDatabase
-
getPackages
Description copied from interface:DatabaseThe packages contained in this database.- Specified by:
getPackagesin interfaceDatabase
-
getPackage
Description copied from interface:DatabaseGet a package defined in this database by name.- Specified by:
getPackagein interfaceDatabase
-
getDefinition
protected static final <D extends Definition> D getDefinition(List<D> definitions, String name, boolean ignoreCase) -
getDefinition
protected static final <D extends Definition> D getDefinition(List<D> definitions, Name name, boolean ignoreCase) -
filterSchema
protected final <T extends Definition> List<T> filterSchema(List<T> definitions, SchemaDefinition schema, Map<SchemaDefinition, List<T>> cache) -
filterSchema
protected final <T extends Definition> List<T> filterSchema(List<T> definitions, SchemaDefinition schema) -
filterPackage
protected final <T extends Definition> List<T> filterPackage(List<T> definitions, PackageDefinition pkg, Map<PackageDefinition, List<T>> cache) -
filterPackage
protected final <T extends Definition> List<T> filterPackage(List<T> definitions, PackageDefinition pkg) -
filterTable
protected final <T extends TableElementDefinition> List<T> filterTable(List<T> definitions, TableDefinition table, Map<TableDefinition, List<T>> cache) -
filterTable
protected final <T extends TableElementDefinition> List<T> filterTable(List<T> definitions, TableDefinition table) -
filterExcludeInclude
Description copied from interface:DatabaseFilter a list of definitions according to the exclude / include / and filter settings of this database.- Specified by:
filterExcludeIncludein interfaceDatabase
-
sort
Description copied from interface:DatabaseSort a list of definitions according to theDatabase.getOrderProvider()defined in this database. -
getIncluded
Description copied from interface:DatabaseRetrieve all included objects.- Specified by:
getIncludedin interfaceDatabase
-
getExcluded
Description copied from interface:DatabaseRetrieve all excluded objects.- Specified by:
getExcludedin interfaceDatabase
-
getAll
Description copied from interface:DatabaseRetrieve all objects. -
filter
-
filter
-
filterExcludeInclude
protected final <T extends Definition> List<T> filterExcludeInclude(List<T> definitions, String e, String i) -
filterExcludeInclude
protected final <T extends Definition> List<T> filterExcludeInclude(List<T> definitions, String[] e, String[] i, List<Database.Filter> f) -
getRelations0
Retrieve ALL relations from the database. -
isArrayType
Description copied from interface:DatabaseCheck whether a type is an array type.- Specified by:
isArrayTypein interfaceDatabase
-
fetchedSize
-
setConfiguredComments
Description copied from interface:DatabaseConfigure the comments.- Specified by:
setConfiguredCommentsin interfaceDatabase
-
getConfiguredComments
Description copied from interface:DatabaseGet the configured comments.- Specified by:
getConfiguredCommentsin interfaceDatabase
-
markUsed
Description copied from interface:DatabaseMark a comment as used. -
getUnusedComments
Description copied from interface:DatabaseRetrieve the not-yet used comments.- Specified by:
getUnusedCommentsin interfaceDatabase
-
setConfiguredSyntheticObjects
Description copied from interface:DatabaseConfigure the synthetic objects.- Specified by:
setConfiguredSyntheticObjectsin interfaceDatabase
-
getConfiguredSyntheticColumns
Description copied from interface:DatabaseGet the configured synthetic columns.- Specified by:
getConfiguredSyntheticColumnsin interfaceDatabase
-
getConfiguredSyntheticReadonlyColumns
Description copied from interface:DatabaseGet the configured synthetic readonly columns.- Specified by:
getConfiguredSyntheticReadonlyColumnsin interfaceDatabase
-
getConfiguredSyntheticReadonlyRowids
Description copied from interface:DatabaseGet the configured synthetic readonly rowids.- Specified by:
getConfiguredSyntheticReadonlyRowidsin interfaceDatabase
-
getConfiguredSyntheticIdentities
Description copied from interface:DatabaseGet the configured synthetic identities.- Specified by:
getConfiguredSyntheticIdentitiesin interfaceDatabase
-
getConfiguredSyntheticPrimaryKeys
Description copied from interface:DatabaseGet the configured synthetic primary keys.- Specified by:
getConfiguredSyntheticPrimaryKeysin interfaceDatabase
-
getConfiguredSyntheticUniqueKeys
Description copied from interface:DatabaseGet the configured synthetic unique keys.- Specified by:
getConfiguredSyntheticUniqueKeysin interfaceDatabase
-
getConfiguredSyntheticForeignKeys
Description copied from interface:DatabaseGet the configured synthetic foreign keys.- Specified by:
getConfiguredSyntheticForeignKeysin interfaceDatabase
-
getConfiguredSyntheticViews
Description copied from interface:DatabaseGet the configured synthetic views.- Specified by:
getConfiguredSyntheticViewsin interfaceDatabase
-
getConfiguredSyntheticDaos
Description copied from interface:DatabaseGet the configured synthetic DAOs.- Specified by:
getConfiguredSyntheticDaosin interfaceDatabase
-
markUsed
Description copied from interface:DatabaseMark a synthetic column as used. -
markUsed
Description copied from interface:DatabaseMark a synthetic readonly column as used. -
markUsed
Description copied from interface:DatabaseMark a synthetic readonly rowids as used. -
markUsed
Description copied from interface:DatabaseMark a synthetic identity as used. -
markUsed
Description copied from interface:DatabaseMark a synthetic primary key as used. -
markUsed
Description copied from interface:DatabaseMark a synthetic unique key as used. -
markUsed
Description copied from interface:DatabaseMark a synthetic foreign key as used. -
markUsed
Description copied from interface:DatabaseMark a synthetic view as used. -
getUnusedSyntheticColumns
Description copied from interface:DatabaseRetrieve the not-yet used synthetic columns.- Specified by:
getUnusedSyntheticColumnsin interfaceDatabase
-
getUnusedSyntheticReadonlyColumns
Description copied from interface:DatabaseRetrieve the not-yet used synthetic readonly columns.- Specified by:
getUnusedSyntheticReadonlyColumnsin interfaceDatabase
-
getUnusedSyntheticReadonlyRowids
Description copied from interface:DatabaseRetrieve the not-yet used synthetic readonly rowids.- Specified by:
getUnusedSyntheticReadonlyRowidsin interfaceDatabase
-
getUnusedSyntheticIdentities
Description copied from interface:DatabaseRetrieve the not-yet used synthetic identities.- Specified by:
getUnusedSyntheticIdentitiesin interfaceDatabase
-
getUnusedSyntheticPrimaryKeys
Description copied from interface:DatabaseRetrieve the not-yet used synthetic primary keys.- Specified by:
getUnusedSyntheticPrimaryKeysin interfaceDatabase
-
getUnusedSyntheticUniqueKeys
Description copied from interface:DatabaseRetrieve the not-yet used synthetic unique keys.- Specified by:
getUnusedSyntheticUniqueKeysin interfaceDatabase
-
getUnusedSyntheticForeignKeys
Description copied from interface:DatabaseRetrieve the not-yet used synthetic foreign keys.- Specified by:
getUnusedSyntheticForeignKeysin interfaceDatabase
-
getUnusedSyntheticViews
Description copied from interface:DatabaseRetrieve the not-yet used synthetic views.- Specified by:
getUnusedSyntheticViewsin interfaceDatabase
-
close
public void close()Description copied from interface:DatabaseRelease any resources that this Database may have allocated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceDatabase
-
create0
Create a new Factory -
getSources0
Retrieve ALL source code from the database.- Throws:
SQLException
-
getIndexes0
Retrieve ALL indexes from the database- Throws:
SQLException
-
loadPrimaryKeys
Retrieve primary keys and store them to relations- Throws:
SQLException
-
loadUniqueKeys
Retrieve non-primary unique keys and store them to relations- Throws:
SQLException
-
loadForeignKeys
Retrieve foreign keys and store them to relations. Unique keys are already loaded.- Throws:
SQLException
-
loadCheckConstraints
RetrieveCHECKconstraints and store them to relations.- Throws:
SQLException
-
getCatalogs0
Retrieve ALL catalogs from the database. This will be filtered ingetCatalogs()- Throws:
SQLException
-
getSchemata0
Retrieve ALL schemata from the database. This will be filtered ingetSchemata()- Throws:
SQLException
-
getSequences0
Retrieve ALL sequences from the database. This will be filtered ingetTables(SchemaDefinition)- Throws:
SQLException
-
getTables0
Retrieve ALL tables from the database. This will be filtered ingetTables(SchemaDefinition)- Throws:
SQLException
-
getRoutines0
Retrieve ALL stored routines (functions and procedures) from the database. This will be filtered ingetRoutines(SchemaDefinition)- Throws:
SQLException
-
getPackages0
Retrieve ALL packages from the database. This will be filtered ingetPackages(SchemaDefinition)- Throws:
SQLException
-
getEnums0
Retrieve ALL enum UDTs from the database. This will be filtered ingetEnums(SchemaDefinition)- Throws:
SQLException
-
getDomains0
Retrieve ALL domain UDTs from the database. This will be filtered ingetDomains(SchemaDefinition)- Throws:
SQLException
-
getXMLSchemaCollections0
protected abstract List<XMLSchemaCollectionDefinition> getXMLSchemaCollections0() throws SQLExceptionRetrieve ALL XML schema collections from the database. This will be filtered ingetXMLSchemaCollections()- Throws:
SQLException
-
getUDTs0
Retrieve ALL UDTs from the database. This will be filtered ingetEnums(SchemaDefinition)- Throws:
SQLException
-
getArrays0
Retrieve ALL ARRAYs from the database. This will be filtered ingetArrays(SchemaDefinition)- Throws:
SQLException
-
getDataTypeForMAX_VAL
Get the data type considering a known max value -
overload
-