java.lang.Object
org.jooq.meta.AbstractDatabase
org.jooq.meta.xml.XMLDatabase
- All Implemented Interfaces:
AutoCloseable,Database
The XML Database.
- 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 TypeMethodDescriptionprotected DSLContextcreate0()Create a new Factoryprotected List<ArrayDefinition> Retrieve ALL ARRAYs from the database.protected List<CatalogDefinition> Retrieve ALL catalogs from the database.protected List<DomainDefinition> Retrieve ALL domain UDTs from the database.protected List<EnumDefinition> Retrieve ALL enum UDTs from the database.protected List<IndexDefinition> Retrieve ALL indexes from the databaseprotected List<PackageDefinition> Retrieve ALL packages from the database.protected List<RoutineDefinition> Retrieve ALL stored routines (functions and procedures) from the database.protected List<SchemaDefinition> Retrieve ALL schemata from the database.protected List<SequenceDefinition> Retrieve ALL sequences from the database.protected List<TableDefinition> Retrieve ALL tables from the database.protected List<UDTDefinition> getUDTs0()Retrieve ALL UDTs from the database.protected List<XMLSchemaCollectionDefinition> Retrieve ALL XML schema collections from the database.protected voidRetrieveCHECKconstraints and store them to relations.protected voidloadForeignKeys(DefaultRelations relations) Retrieve foreign keys and store them to relations.protected voidloadPrimaryKeys(DefaultRelations relations) Retrieve primary keys and store them to relationsprotected voidloadUniqueKeys(DefaultRelations relations) Retrieve non-primary unique keys and store them to relationsMethods inherited from class org.jooq.meta.AbstractDatabase
addFilter, close, commercial, commercial, configuredDialectIsNotFamilyAndSupports, create, create, dateAsTimestamp, doOnce, embeddableDomains, embeddablePrimaryKeys, embeddableUniqueKeys, existAll, existAll, exists, exists, exists0, exists0, exists1, exists1, fetchedSize, filter, filter, filterExcludeInclude, filterExcludeInclude, filterExcludeInclude, filterPackage, filterPackage, filterSchema, filterSchema, filterTable, filterTable, getAll, getArray, getArray, getArray, getArray, getArrays, getBasedir, getCatalog, getCatalogs, getCatalogVersionProvider, getCheckConstraints, getComments, getComments0, getConfiguredComments, getConfiguredCustomType, getConfiguredCustomTypes, getConfiguredEmbeddables, getConfiguredEnumTypes, getConfiguredForcedType, getConfiguredForcedType, getConfiguredForcedTypes, getConfiguredSyntheticColumns, getConfiguredSyntheticDaos, getConfiguredSyntheticDefaults, getConfiguredSyntheticEnum, getConfiguredSyntheticEnums, getConfiguredSyntheticForeignKeys, getConfiguredSyntheticIdentities, getConfiguredSyntheticPrimaryKeys, getConfiguredSyntheticReadonlyColumns, getConfiguredSyntheticReadonlyRowids, getConfiguredSyntheticSynonyms, getConfiguredSyntheticUniqueKeys, getConfiguredSyntheticViews, getConnection, getDataTypeForMAX_VAL, getDefinition, getDefinition, getDialect, getDomain, getDomain, getDomain, getDomain, getDomains, getDomains, getEmbeddables, getEmbeddables, getEmbeddables, getEmbeddablesByReferencingTable, getEnum, getEnum, getEnum, getEnum, getEnums, getExcluded, getExcludes, getExcludeSql, getFilters, getForcedTypesForBuiltinDataTypeExtensions, getForcedTypesForXMLSchemaCollections, getForceIntegerTypesOnZeroScaleDecimals, getForeignKeys, getForeignKeys, getIdentities, getIncludeCheckConstraints, getIncluded, getIncludeDomains, getIncludeEmbeddables, getIncludeExcludeColumns, getIncludeExcludePackageRoutines, getIncludeForeignKeys, getIncludeIndexes, getIncludeInvisibleColumns, getIncludePackageConstants, getIncludePackageRoutines, getIncludePackages, getIncludePackageUDTs, getIncludePrimaryKeys, getIncludeRoutines, getIncludes, getIncludeSequences, getIncludeSql, getIncludeSystemCheckConstraints, getIncludeSystemIndexes, getIncludeSystemSequences, getIncludeSystemTables, getIncludeSystemUDTs, getIncludeTables, getIncludeTriggerRoutines, getIncludeUDTs, getIncludeUniqueKeys, getIncludeXMLSchemaCollections, getIndexes, getIndexes, getInputCatalogs, getInputCatalogsAndSchemata, getInputSchemata, getInputSchemata, getInputSchemata, getInvisibleColumnsAsHidden, getKeys, getKeys, getLogSlowQueriesAfterSeconds, getLogSlowResultsAfterSeconds, getOrderProvider, getOutputCatalog, getOutputSchema, getOutputSchema, getOverridePrimaryKeys, getPackage, getPackages, getPrimaryKeys, getPrimaryKeys, getProperties, getRecordTimestampFields, getRecordVersionFields, getRegexFlags, getRegexMatchesPartialQualification, getRelations, getRelations0, getRenderQuotedNames, getRoutine, getRoutine, getRoutine, getRoutine, getRoutines, getSchema, getSchemata, getSchemata, getSchemaVersionProvider, getSequence, getSequence, getSequence, getSequence, getSequences, getSequences, getSources, getSources0, getSqlMatchesPartialQualification, getSubtypes, getSyntheticIdentities, getSyntheticPrimaryKeys, getTable, getTable, getTable, getTable, getTables, getTables, getUDT, getUDT, getUDT, getUDT, getUDTs, getUDTs, getUDTs, getUniqueKeys, getUniqueKeys, getUnusedComments, getUnusedEmbeddables, getUnusedForcedTypes, getUnusedSyntheticColumns, getUnusedSyntheticDefaults, getUnusedSyntheticEnums, getUnusedSyntheticForeignKeys, getUnusedSyntheticIdentities, getUnusedSyntheticPrimaryKeys, getUnusedSyntheticReadonlyColumns, getUnusedSyntheticReadonlyRowids, getUnusedSyntheticSynonyms, getUnusedSyntheticUniqueKeys, getUnusedSyntheticViews, getXMLSchemaCollection, getXMLSchemaCollections, getXMLSchemaCollections, ignoreProcedureReturnValues, includeRelations, integerDisplayWidths, isArrayType, javaTimeTypes, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, onError, overload, prependCreateMaterializedView, prependCreateView, readonlyComputedColumns, readonlyIdentities, readonlyNonUpdatableColumns, requireCommercial, setBasedir, setCatalogVersionProvider, setConfiguredCatalogs, setConfiguredComments, setConfiguredCustomTypes, setConfiguredEmbeddables, setConfiguredEnumTypes, setConfiguredForcedTypes, setConfiguredSchemata, setConfiguredSyntheticObjects, setConnection, setDateAsTimestamp, setDialect, setEmbeddableDomains, setEmbeddablePrimaryKeys, setEmbeddableUniqueKeys, setExcludes, setExcludeSql, setForcedTypesForBuiltinDataTypeExtensions, setForcedTypesForXMLSchemaCollections, setForceIntegerTypesOnZeroScaleDecimals, setIgnoreProcedureReturnValues, setIncludeCheckConstraints, setIncludeDomains, setIncludeEmbeddables, setIncludeExcludeColumns, setIncludeExcludePackageRoutines, setIncludeForeignKeys, setIncludeIndexes, setIncludeInvisibleColumns, setIncludePackageConstants, setIncludePackageRoutines, setIncludePackages, setIncludePackageUDTs, setIncludePrimaryKeys, setIncludeRelations, setIncludeRoutines, setIncludes, setIncludeSequences, setIncludeSql, setIncludeSystemCheckConstraints, setIncludeSystemIndexes, setIncludeSystemSequences, setIncludeSystemTables, setIncludeSystemUDTs, setIncludeTables, setIncludeTriggerRoutines, setIncludeUDTs, setIncludeUniqueKeys, setIncludeXMLSchemaCollections, setIntegerDisplayWidths, setInvisibleColumnsAsHidden, setJavaTimeTypes, setLogSlowQueriesAfterSeconds, setLogSlowResultsAfterSeconds, setOnError, setOrderProvider, setOverridePrimaryKeys, setProperties, setReadonlyComputedColumns, setReadonlyIdentities, setReadonlyNonUpdatableColumns, setRecordTimestampFields, setRecordVersionFields, setRegexFlags, setRegexMatchesPartialQualification, setSchemaVersionProvider, setSqlMatchesPartialQualification, setSupportsUnsignedTypes, setSyntheticIdentities, setSyntheticPrimaryKeys, setTableValuedFunctions, sort, supportsUnsignedTypes, tableValuedFunctions
-
Constructor Details
-
XMLDatabase
public XMLDatabase()
-
-
Method Details
-
create0
Description copied from class:AbstractDatabaseCreate a new Factory- Specified by:
create0in classAbstractDatabase
-
getIndexes0
Description copied from class:AbstractDatabaseRetrieve ALL indexes from the database- Overrides:
getIndexes0in classAbstractDatabase- Throws:
SQLException
-
loadPrimaryKeys
Description copied from class:AbstractDatabaseRetrieve primary keys and store them to relations- Specified by:
loadPrimaryKeysin classAbstractDatabase
-
loadUniqueKeys
Description copied from class:AbstractDatabaseRetrieve non-primary unique keys and store them to relations- Specified by:
loadUniqueKeysin classAbstractDatabase
-
loadForeignKeys
Description copied from class:AbstractDatabaseRetrieve foreign keys and store them to relations. Unique keys are already loaded.- Specified by:
loadForeignKeysin classAbstractDatabase
-
loadCheckConstraints
Description copied from class:AbstractDatabaseRetrieveCHECKconstraints and store them to relations.- Specified by:
loadCheckConstraintsin classAbstractDatabase
-
getCatalogs0
Description copied from class:AbstractDatabaseRetrieve ALL catalogs from the database. This will be filtered inAbstractDatabase.getCatalogs()- Specified by:
getCatalogs0in classAbstractDatabase- Throws:
SQLException
-
getSchemata0
Description copied from class:AbstractDatabaseRetrieve ALL schemata from the database. This will be filtered inAbstractDatabase.getSchemata()- Specified by:
getSchemata0in classAbstractDatabase
-
getSequences0
Description copied from class:AbstractDatabaseRetrieve ALL sequences from the database. This will be filtered inAbstractDatabase.getTables(SchemaDefinition)- Specified by:
getSequences0in classAbstractDatabase
-
getTables0
Description copied from class:AbstractDatabaseRetrieve ALL tables from the database. This will be filtered inAbstractDatabase.getTables(SchemaDefinition)- Specified by:
getTables0in classAbstractDatabase
-
getEnums0
Description copied from class:AbstractDatabaseRetrieve ALL enum UDTs from the database. This will be filtered inAbstractDatabase.getEnums(SchemaDefinition)- Specified by:
getEnums0in classAbstractDatabase
-
getDomains0
Description copied from class:AbstractDatabaseRetrieve ALL domain UDTs from the database. This will be filtered inAbstractDatabase.getDomains(SchemaDefinition)- Specified by:
getDomains0in classAbstractDatabase- Throws:
SQLException
-
getXMLSchemaCollections0
Description copied from class:AbstractDatabaseRetrieve ALL XML schema collections from the database. This will be filtered inAbstractDatabase.getXMLSchemaCollections()- Specified by:
getXMLSchemaCollections0in classAbstractDatabase- Throws:
SQLException
-
getUDTs0
Description copied from class:AbstractDatabaseRetrieve ALL UDTs from the database. This will be filtered inAbstractDatabase.getEnums(SchemaDefinition)- Specified by:
getUDTs0in classAbstractDatabase
-
getArrays0
Description copied from class:AbstractDatabaseRetrieve ALL ARRAYs from the database. This will be filtered inAbstractDatabase.getArrays(SchemaDefinition)- Specified by:
getArrays0in classAbstractDatabase
-
getRoutines0
Description copied from class:AbstractDatabaseRetrieve ALL stored routines (functions and procedures) from the database. This will be filtered inAbstractDatabase.getRoutines(SchemaDefinition)- Specified by:
getRoutines0in classAbstractDatabase
-
getPackages0
Description copied from class:AbstractDatabaseRetrieve ALL packages from the database. This will be filtered inAbstractDatabase.getPackages(SchemaDefinition)- Specified by:
getPackages0in classAbstractDatabase
-