-
- All Superinterfaces:
AutoCloseable,Database
- All Known Implementing Classes:
DerbyDatabase,FirebirdDatabase,H2Database,HSQLDBDatabase,MariaDBDatabase,MySQLDatabase,PostgresDatabase
@Internal public interface ResultQueryDatabase extends Database
An interface for allAbstractDatabaseimplementations that can produceResultQueryobjects to query meta data.These queries will be used to generate some internal queries in the core library's
MetaAPI. The return types of the various methods are subject to change and should not be relied upon.- Author:
- Lukas Eder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jooq.meta.Database
Database.Filter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultQuery<Record6<String,String,String,String,String,Integer>>primaryKeys(List<String> schemas)A query that produces primary keys for a set of input schemas.ResultQuery<Record12<String,String,String,String,Integer,Integer,Long,Long,BigDecimal,BigDecimal,Boolean,Long>>sequences(List<String> schemas)A query that produces sequences for a set of input schemas.ResultQuery<Record6<String,String,String,String,String,Integer>>uniqueKeys(List<String> schemas)A query that produces (non-primary) unique keys for a set of input schemas.-
Methods inherited from interface org.jooq.meta.Database
addFilter, close, create, dateAsTimestamp, embeddableDomains, embeddablePrimaryKeys, embeddableUniqueKeys, existAll, existAll, exists, exists, filterExcludeInclude, getAll, getArray, getArray, getArray, getArray, getArrays, getBasedir, getCatalog, getCatalogs, getCatalogVersionProvider, getCheckConstraints, getConfiguredComments, getConfiguredCustomType, getConfiguredCustomTypes, getConfiguredEmbeddables, getConfiguredEnumTypes, getConfiguredForcedType, getConfiguredForcedType, getConfiguredForcedTypes, getConfiguredSyntheticForeignKeys, getConfiguredSyntheticIdentities, getConfiguredSyntheticPrimaryKeys, getConfiguredSyntheticUniqueKeys, getConfiguredSyntheticViews, getConnection, getDialect, getDomain, getDomain, getDomain, getDomain, getDomains, getDomains, getEmbeddables, getEmbeddables, getEmbeddables, getEmbeddablesByReferencingTable, getEnum, getEnum, getEnum, getEnum, getEnums, getExcluded, getExcludes, getFilters, getForceIntegerTypesOnZeroScaleDecimals, getForeignKeys, getForeignKeys, getIdentities, getIncludeCheckConstraints, getIncluded, getIncludeDomains, getIncludeEmbeddables, getIncludeExcludeColumns, getIncludeExcludePackageRoutines, getIncludeForeignKeys, getIncludeIndexes, getIncludeInvisibleColumns, getIncludePackageConstants, getIncludePackageRoutines, getIncludePackages, getIncludePackageUDTs, getIncludePrimaryKeys, getIncludeRoutines, getIncludes, getIncludeSequences, getIncludeSystemCheckConstraints, getIncludeSystemIndexes, getIncludeSystemSequences, getIncludeSystemTables, getIncludeSystemUDTs, getIncludeTables, getIncludeTriggerRoutines, getIncludeUDTs, getIncludeUniqueKeys, getIndexes, getIndexes, getInputCatalogs, getInputSchemata, getInputSchemata, getInputSchemata, getKeys, getKeys, getLogSlowQueriesAfterSeconds, getLogSlowResultsAfterSeconds, getOrderProvider, getOutputCatalog, getOutputSchema, getOutputSchema, getOverridePrimaryKeys, getPackage, getPackages, getPrimaryKeys, getPrimaryKeys, getProperties, getRecordTimestampFields, getRecordVersionFields, getRegexFlags, getRegexMatchesPartialQualification, getRelations, getRoutines, getSchema, getSchemata, getSchemata, getSchemaVersionProvider, getSequences, getSequences, getSources, getSqlMatchesPartialQualification, getSyntheticIdentities, getSyntheticPrimaryKeys, getTable, getTable, getTable, getTable, getTables, getTables, getUDT, getUDT, getUDT, getUDT, getUDTs, getUDTs, getUDTs, getUniqueKeys, getUniqueKeys, getUnusedComments, getUnusedEmbeddables, getUnusedForcedTypes, getUnusedSyntheticForeignKeys, getUnusedSyntheticIdentities, getUnusedSyntheticPrimaryKeys, getUnusedSyntheticUniqueKeys, getUnusedSyntheticViews, ignoreProcedureReturnValues, includeRelations, integerDisplayWidths, isArrayType, javaTimeTypes, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, markUsed, onError, setBasedir, setCatalogVersionProvider, setConfiguredCatalogs, setConfiguredComments, setConfiguredCustomTypes, setConfiguredEmbeddables, setConfiguredEnumTypes, setConfiguredForcedTypes, setConfiguredSchemata, setConfiguredSyntheticObjects, setConnection, setDateAsTimestamp, setDialect, setEmbeddableDomains, setEmbeddablePrimaryKeys, setEmbeddableUniqueKeys, setExcludes, setForceIntegerTypesOnZeroScaleDecimals, setIgnoreProcedureReturnValues, setIncludeCheckConstraints, setIncludeDomains, setIncludeEmbeddables, setIncludeExcludeColumns, setIncludeExcludePackageRoutines, setIncludeForeignKeys, setIncludeIndexes, setIncludeInvisibleColumns, setIncludePackageConstants, setIncludePackageRoutines, setIncludePackages, setIncludePackageUDTs, setIncludePrimaryKeys, setIncludeRelations, setIncludeRoutines, setIncludes, setIncludeSequences, setIncludeSystemCheckConstraints, setIncludeSystemIndexes, setIncludeSystemSequences, setIncludeSystemTables, setIncludeSystemUDTs, setIncludeTables, setIncludeTriggerRoutines, setIncludeUDTs, setIncludeUniqueKeys, setIntegerDisplayWidths, setJavaTimeTypes, setLogSlowQueriesAfterSeconds, setLogSlowResultsAfterSeconds, setOnError, setOrderProvider, setOverridePrimaryKeys, setProperties, setRecordTimestampFields, setRecordVersionFields, setRegexFlags, setRegexMatchesPartialQualification, setSchemaVersionProvider, setSqlMatchesPartialQualification, setSupportsUnsignedTypes, setSyntheticIdentities, setSyntheticPrimaryKeys, setTableValuedFunctions, sort, supportsUnsignedTypes, tableValuedFunctions
-
-
-
-
Method Detail
-
primaryKeys
@Internal ResultQuery<Record6<String,String,String,String,String,Integer>> primaryKeys(List<String> schemas)
A query that produces primary keys for a set of input schemas.The resulting columns are:
- Catalog name
- Schema name
- Table name
- Constraint name
- Column name
- Column sequence
-
uniqueKeys
@Internal ResultQuery<Record6<String,String,String,String,String,Integer>> uniqueKeys(List<String> schemas)
A query that produces (non-primary) unique keys for a set of input schemas.The resulting columns are:
- Catalog name
- Schema name
- Table name
- Constraint name
- Column name
- Column sequence
-
sequences
@Internal ResultQuery<Record12<String,String,String,String,Integer,Integer,Long,Long,BigDecimal,BigDecimal,Boolean,Long>> sequences(List<String> schemas)
A query that produces sequences for a set of input schemas.The resulting columns are:
- Catalog name
- Schema name
- Sequence name
- Data type name
- Data type precision
- Data type scale
- Start value
- Increment
- Min value
- Max value
- Cycle
- Cache
-
-