public interface DatabaseMetadataService
| Modifier and Type | Method and Description |
|---|---|
List<TableMetadata> |
findTables(String dataSourceUuid,
String schema,
DatabaseMetadata.TableType... types)
Gets a list of database objects metadata for a given database.
|
List<TableMetadata> |
findTables(String dataSourceUuid,
String schema,
String tableNamePattern,
DatabaseMetadata.TableType... types)
Gets a list of database objects metadata for a given database.
|
DatabaseMetadata |
getMetadata(String dataSourceUuid,
boolean includeCatalogs,
boolean includeSchemas)
Gets the metadata for the database pointed by a given data source.
|
DatabaseMetadata getMetadata(String dataSourceUuid, boolean includeCatalogs, boolean includeSchemas)
dataSourceUuid - A data source uuid.List<TableMetadata> findTables(String dataSourceUuid, String schema, DatabaseMetadata.TableType... types)
dataSourceUuid - A data source uuid.schema - A schema name for filtering. A null value will query all the available schemas.types - A list of database object types for filtering.List<TableMetadata> findTables(String dataSourceUuid, String schema, String tableNamePattern, DatabaseMetadata.TableType... types)
dataSourceUuid - A data source uuid.schema - A schema name for filtering. A null value will query all the available schemas.tableNamePattern - A table name pattern for filtering the database objects by name, e.g. %INVOICE_%.types - A list of database object types for filtering.Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.