Class Jdbc
java.lang.Object
org.odpi.openmetadata.adapters.connectors.integration.jdbc.transfer.requests.Jdbc
Utility class that delegates requests to jdbc
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet all catalogsgetColumns
(String catalog, String schemaName, String tableName) Get all column of tableGet database product nameGet database product versionGet driver namegetExportedKeys
(String catalog, String schemaName, String tableName) Get foreign keys as described by the foreign key columns referenced by primary key columns of target tablegetImportedKeys
(String catalog, String schemaName, String tableName) Get foreign keys as described by the primary key columns referenced by foreign key columns of target tablegetPrimaryKeys
(String schemaName, String tableName) Get table primary keysgetSchemas
(String catalog) Get all schemasGet all tables of a schemaGet supported table typesgetUrl()
Get urlGet usernameGet all views of a schema
-
Field Details
-
JDBC_CATALOG_KEY
- See Also:
-
JDBC_SCHEMA_KEY
- See Also:
-
JDBC_TABLE_KEY
- See Also:
-
JDBC_COLUMN_KEY
- See Also:
-
JDBC_TABLE_TYPE_KEY
- See Also:
-
-
Constructor Details
-
Jdbc
-
-
Method Details
-
getUserName
Get username- Returns:
- username
-
getUrl
Get url- Returns:
- url
-
getDriverName
Get driver name- Returns:
- driver name
-
getDatabaseProductVersion
Get database product version- Returns:
- database product version
-
getDatabaseProductName
Get database product name- Returns:
- database product name
-
getTables
Get all tables of a schema- Parameters:
schemaName
- schema name- Returns:
- tables
-
getViews
Get all views of a schema- Parameters:
schemaName
- schema name- Returns:
- views
-
getImportedKeys
Get foreign keys as described by the primary key columns referenced by foreign key columns of target table- Parameters:
catalog
- catalogschemaName
- schema nametableName
- table name- Returns:
- foreign keys
-
getExportedKeys
Get foreign keys as described by the foreign key columns referenced by primary key columns of target table- Parameters:
catalog
- catalogschemaName
- schema nametableName
- table name- Returns:
- foreign keys
-
getPrimaryKeys
Get table primary keys- Parameters:
schemaName
- schema nametableName
- table name- Returns:
- primary keys
-
getColumns
Get all column of table- Parameters:
schemaName
- schema nametableName
- table name- Returns:
- columns
-
getSchemas
Get all schemas- Returns:
- schemas
-
getCatalogs
Get all catalogs- Returns:
- schemas
-
getTableTypes
Get supported table types- Returns:
- table types
-