JdbcMetaData
extends: Object implements: DatabaseMetaData
JdbcMetaData (schemaDefinition)
Instantiates a new virtual JDBC MetaData object with an empty CURRENT_CATALOG and an empty CURRENT_SCHEMA and creates tables from the provided definition.
String schemaDefinition | schemaDefinition the schema definition of tables and columns
JdbcMetaData (catalogName, schemaName, schemaDefinition)
Instantiates a new virtual JDBC MetaData object for the given CURRENT_CATALOG and CURRENT_SCHEMA and creates tables from the provided definition.
String catalogName | catalogName the CURRENT_CATALOG
String schemaName | schemaName the CURRENT_SCHEMA
String schemaDefinition | schemaDefinition the schema definition of tables and columns
JdbcMetaData (catalogName, schemaName)
Instantiates a new virtual JDBC MetaData object with a given CURRENT_CATALOG and CURRENT_SCHEMA.
String catalogName | catalogName the CURRENT_CATALOG to set
String schemaName | schemaName the CURRENT_SCHEMA to set
JdbcMetaData ()
Instantiates a new virtual JDBC MetaData object with an empty CURRENT_CATALOG and an empty CURRENT_SCHEMA.
JdbcMetaData (con)
Derives JDBC MetaData object from a physical database connection.
Connection con | con the physical database connection
getTypeName (sqlType) → String
int sqlType
returns String
put (rsMetaData, name, errorMessage) →
JdbcTable
String name
String errorMessage
@SuppressWarnings
getTableColumns (catalogName, schemaName, tableName, columnName) → List
String catalogName
String schemaName
String tableName
String columnName
returns List
@SuppressWarnings
getColumn (catalogName, schemaName, tableName, columnName) →
JdbcColumn
String catalogName
String schemaName
String tableName
String columnName
containsValue (value) → boolean
String key
BiFunction remappingFunction
replace (key, oldValue, newValue) → boolean
String key
returns boolean
remove (key, value) → boolean
String key
returns boolean
computeIfPresent (key, remappingFunction) →
JdbcCatalog
String key
BiFunction remappingFunction
String key
Function mappingFunction
String key
BiFunction remappingFunction
containsKey (key) → boolean
String key
returns boolean
addTable (catalogName, schemaName, tableName, columns) →
JdbcMetaData
String catalogName
String schemaName
String tableName
Collection columns
addTable (catalogName, schemaName, tableName, columns) →
JdbcMetaData
String catalogName
String schemaName
String tableName
String schemaName
String tableName
Collection columns
String schemaName
String tableName
String tableName
Collection columns
String tableName
String columnNames
String tableName
Collection columns
@Override
allProceduresAreCallable () → boolean
@Override
allTablesAreSelectable () → boolean
@Override
getURL () → String
@Override
getUserName () → String
@Override
isReadOnly () → boolean
@Override
nullsAreSortedHigh () → boolean
@Override
nullsAreSortedLow () → boolean
@Override
nullsAreSortedAtStart () → boolean
@Override
nullsAreSortedAtEnd () → boolean
@Override
getDatabaseProductName () → String
@Override
getDatabaseProductVersion () → String
@Override
getDriverName () → String
@Override
getDriverVersion () → String
@Override
getDriverMajorVersion () → int
@Override
getDriverMinorVersion () → int
@Override
usesLocalFiles () → boolean
@Override
usesLocalFilePerTable () → boolean
@Override
supportsMixedCaseIdentifiers () → boolean
@Override
storesUpperCaseIdentifiers () → boolean
@Override
storesLowerCaseIdentifiers () → boolean
@Override
storesMixedCaseIdentifiers () → boolean
@Override
supportsMixedCaseQuotedIdentifiers () → boolean
@Override
storesUpperCaseQuotedIdentifiers () → boolean
@Override
storesLowerCaseQuotedIdentifiers () → boolean
@Override
storesMixedCaseQuotedIdentifiers () → boolean
@Override
getIdentifierQuoteString () → String
@Override
getSQLKeywords () → String
@Override
getNumericFunctions () → String
@Override
getStringFunctions () → String
@Override
getSystemFunctions () → String
@Override
getTimeDateFunctions () → String
@Override
getSearchStringEscape () → String
@Override
getExtraNameCharacters () → String
@Override
supportsAlterTableWithAddColumn () → boolean
@Override
supportsAlterTableWithDropColumn () → boolean
@Override
supportsColumnAliasing () → boolean
@Override
nullPlusNonNullIsNull () → boolean
@Override
supportsConvert () → boolean
@Override
supportsConvert (fromType, toType) → boolean
int fromType
int toType
returns boolean
@Override
supportsTableCorrelationNames () → boolean
@Override
supportsDifferentTableCorrelationNames () → boolean
@Override
supportsExpressionsInOrderBy () → boolean
@Override
supportsOrderByUnrelated () → boolean
@Override
supportsGroupBy () → boolean
@Override
supportsGroupByUnrelated () → boolean
@Override
supportsGroupByBeyondSelect () → boolean
@Override
supportsLikeEscapeClause () → boolean
@Override
supportsMultipleResultSets () → boolean
@Override
supportsMultipleTransactions () → boolean
@Override
supportsNonNullableColumns () → boolean
@Override
supportsMinimumSQLGrammar () → boolean
@Override
supportsCoreSQLGrammar () → boolean
@Override
supportsExtendedSQLGrammar () → boolean
@Override
supportsANSI92EntryLevelSQL () → boolean
@Override
supportsANSI92IntermediateSQL () → boolean
@Override
supportsANSI92FullSQL () → boolean
@Override
supportsIntegrityEnhancementFacility () → boolean
@Override
supportsOuterJoins () → boolean
@Override
supportsFullOuterJoins () → boolean
@Override
supportsLimitedOuterJoins () → boolean
@Override
getSchemaTerm () → String
@Override
getProcedureTerm () → String
@Override
getCatalogTerm () → String
@Override
isCatalogAtStart () → boolean
@Override
getCatalogSeparator () → String
@Override
supportsSchemasInDataManipulation () → boolean
@Override
supportsSchemasInProcedureCalls () → boolean
@Override
supportsSchemasInTableDefinitions () → boolean
@Override
supportsSchemasInIndexDefinitions () → boolean
@Override
supportsSchemasInPrivilegeDefinitions () → boolean
@Override
supportsCatalogsInDataManipulation () → boolean
@Override
supportsCatalogsInProcedureCalls () → boolean
@Override
supportsCatalogsInTableDefinitions () → boolean
@Override
supportsCatalogsInIndexDefinitions () → boolean
@Override
supportsCatalogsInPrivilegeDefinitions () → boolean
@Override
supportsPositionedDelete () → boolean
@Override
supportsPositionedUpdate () → boolean
@Override
supportsSelectForUpdate () → boolean
@Override
supportsStoredProcedures () → boolean
@Override
supportsSubqueriesInComparisons () → boolean
@Override
supportsSubqueriesInExists () → boolean
@Override
supportsSubqueriesInIns () → boolean
@Override
supportsSubqueriesInQuantifieds () → boolean
@Override
supportsCorrelatedSubqueries () → boolean
@Override
supportsUnion () → boolean
@Override
supportsUnionAll () → boolean
@Override
supportsOpenCursorsAcrossCommit () → boolean
@Override
supportsOpenCursorsAcrossRollback () → boolean
@Override
supportsOpenStatementsAcrossCommit () → boolean
@Override
supportsOpenStatementsAcrossRollback () → boolean
@Override
getMaxBinaryLiteralLength () → int
@Override
getMaxCharLiteralLength () → int
@Override
getMaxColumnNameLength () → int
@Override
getMaxColumnsInGroupBy () → int
@Override
getMaxColumnsInIndex () → int
@Override
getMaxColumnsInOrderBy () → int
@Override
getMaxColumnsInSelect () → int
@Override
getMaxColumnsInTable () → int
@Override
getMaxConnections () → int
@Override
getMaxCursorNameLength () → int
@Override
getMaxIndexLength () → int
@Override
getMaxSchemaNameLength () → int
@Override
getMaxProcedureNameLength () → int
@Override
getMaxCatalogNameLength () → int
@Override
getMaxRowSize () → int
@Override
doesMaxRowSizeIncludeBlobs () → boolean
@Override
getMaxStatementLength () → int
@Override
getMaxStatements () → int
@Override
getMaxTableNameLength () → int
@Override
getMaxTablesInSelect () → int
@Override
getMaxUserNameLength () → int
@Override
getDefaultTransactionIsolation () → int
@Override
supportsTransactions () → boolean
@Override
supportsTransactionIsolationLevel (level) → boolean
int level
returns boolean
@Override
supportsDataDefinitionAndDataManipulationTransactions () → boolean
@Override
supportsDataManipulationTransactionsOnly () → boolean
@Override
dataDefinitionCausesTransactionCommit () → boolean
@Override
dataDefinitionIgnoredInTransactions () → boolean
@Override
getProcedures (catalog, schemaPattern, procedureNamePattern) → ResultSet
String catalog
String schemaPattern
String procedureNamePattern
returns ResultSet
@Override
getProcedureColumns (catalog, schemaPattern, procedureNamePattern, columnNamePattern) → ResultSet
String catalog
String schemaPattern
String procedureNamePattern
String columnNamePattern
returns ResultSet
@Override
getTables (catalog, schemaPattern, tableNamePattern, types) → ResultSet
String catalog
String schemaPattern
String tableNamePattern
String types
returns ResultSet
@Override
getSchemas () → ResultSet
@Override
getCatalogs () → ResultSet
@Override
getTableTypes () → ResultSet
@Override
getColumns (catalog, schemaPattern, tableNamePattern, columnNamePattern) → ResultSet
String catalog
String schemaPattern
String tableNamePattern
String columnNamePattern
returns ResultSet
@Override
getColumnPrivileges (catalog, schema, table, columnNamePattern) → ResultSet
String catalog
String schema
String table
String columnNamePattern
returns ResultSet
@Override
getTablePrivileges (catalog, schemaPattern, tableNamePattern) → ResultSet
String catalog
String schemaPattern
String tableNamePattern
returns ResultSet
@Override
getBestRowIdentifier (catalog, schema, table, scope, nullable) → ResultSet
String catalog
String schema
String table
int scope
boolean nullable
returns ResultSet
@Override
getVersionColumns (catalog, schema, table) → ResultSet
String catalog
String schema
String table
returns ResultSet
@Override
getPrimaryKeys (catalog, schema, table) → ResultSet
String catalog
String schema
String table
returns ResultSet
@Override
getImportedKeys (catalog, schema, table) → ResultSet
String catalog
String schema
String table
returns ResultSet
@Override
getExportedKeys (catalog, schema, table) → ResultSet
String catalog
String schema
String table
returns ResultSet
@Override
getCrossReference (parentCatalog, parentSchema, parentTable, foreignCatalog, foreignSchema, foreignTable) → ResultSet
String parentCatalog
String parentSchema
String parentTable
String foreignCatalog
String foreignSchema
String foreignTable
returns ResultSet
@Override
getTypeInfo () → ResultSet
@Override
getIndexInfo (catalog, schema, table, unique, approximate) → ResultSet
String catalog
String schema
String table
boolean unique
boolean approximate
returns ResultSet
@Override
supportsResultSetType (type) → boolean
@Override
supportsResultSetConcurrency (type, concurrency) → boolean
int type
int concurrency
returns boolean
@Override
ownUpdatesAreVisible (type) → boolean
@Override
ownDeletesAreVisible (type) → boolean
@Override
ownInsertsAreVisible (type) → boolean
@Override
othersUpdatesAreVisible (type) → boolean
@Override
othersDeletesAreVisible (type) → boolean
@Override
othersInsertsAreVisible (type) → boolean
@Override
updatesAreDetected (type) → boolean
@Override
deletesAreDetected (type) → boolean
@Override
insertsAreDetected (type) → boolean
@Override
supportsBatchUpdates () → boolean
@Override
getUDTs (catalog, schemaPattern, typeNamePattern, types) → ResultSet
String catalog
String schemaPattern
String typeNamePattern
int types
returns ResultSet
@Override
getConnection () → Connection
@Override
supportsSavepoints () → boolean
@Override
supportsNamedParameters () → boolean
@Override
supportsMultipleOpenResults () → boolean
@Override
supportsGetGeneratedKeys () → boolean
@Override
getSuperTypes (catalog, schemaPattern, typeNamePattern) → ResultSet
String catalog
String schemaPattern
String typeNamePattern
returns ResultSet
@Override
getSuperTables (catalog, schemaPattern, tableNamePattern) → ResultSet
String catalog
String schemaPattern
String tableNamePattern
returns ResultSet
@Override
getAttributes (catalog, schemaPattern, typeNamePattern, attributeNamePattern) → ResultSet
String catalog
String schemaPattern
String typeNamePattern
String attributeNamePattern
returns ResultSet
@Override
supportsResultSetHoldability (holdability) → boolean
int holdability
returns boolean
@Override
getResultSetHoldability () → int
@Override
getDatabaseMajorVersion () → int
@Override
getDatabaseMinorVersion () → int
@Override
getJDBCMajorVersion () → int
@Override
getJDBCMinorVersion () → int
@Override
getSQLStateType () → int
@Override
locatorsUpdateCopy () → boolean
@Override
supportsStatementPooling () → boolean
@Override
getRowIdLifetime () → RowIdLifetime
@Override
getSchemas (catalog, schemaPattern) → ResultSet
String catalog
String schemaPattern
returns ResultSet
@Override
supportsStoredFunctionsUsingCallSyntax () → boolean
@Override
autoCommitFailureClosesAllResultSets () → boolean
@Override
getClientInfoProperties () → ResultSet
@Override
getFunctions (catalog, schemaPattern, functionNamePattern) → ResultSet
String catalog
String schemaPattern
String functionNamePattern
returns ResultSet
@Override
getFunctionColumns (catalog, schemaPattern, functionNamePattern, columnNamePattern) → ResultSet
String catalog
String schemaPattern
String functionNamePattern
String columnNamePattern
returns ResultSet
@Override
getPseudoColumns (catalog, schemaPattern, tableNamePattern, columnNamePattern) → ResultSet
String catalog
String schemaPattern
String tableNamePattern
String columnNamePattern
returns ResultSet
@Override
generatedKeyAlwaysReturned () → boolean
@Override
unwrap (iface) → T
@Override
isWrapperFor (iface) → boolean
Class iface
returns boolean
getCurrentCatalogName () → String
getCurrentSchemaName () → String
addUnresolved (unquotedQualifiedName)
Add the name of an unresolvable column or table to the list.
String unquotedQualifiedName | unquotedQualifiedName the unquoted qualified name of the table or column
getUnresolvedObjects () → Set
Gets unresolved column or table names, not existing in the schema
returns Set | the unresolved column or table names
getErrorMode () → ErrorMode
Gets the error mode.
returns ErrorMode | the error mode
Sets the error mode.
ErrorMode errorMode | errorMode the error mode
getDatabaseType () → String
setDatabaseType (databaseType)
getCatalogsList () → List
setCatalogsList (catalogs)
setCurrentCatalogName (currentCatalogName)
String currentCatalogName
setCurrentSchemaName (currentSchemaName)