public class RDBMetadataExtractionTools extends Object
| Constructor and Description |
|---|
RDBMetadataExtractionTools() |
| Modifier and Type | Method and Description |
|---|---|
static RDBMetadata |
createMetadata(Connection conn,
it.unibz.inf.ontop.model.type.TypeFactory typeFactory)
Creates database metadata description (but does not load metadata)
|
static void |
loadMetadata(RDBMetadata metadata,
Connection conn,
Set<it.unibz.inf.ontop.dbschema.RelationID> realTables)
Retrieves the database metadata (table schema and database constraints)
This method either uses the given list of tables or
if it is null then it retrieves all the complete list of tables from
the connection metadata
|
public static RDBMetadata createMetadata(Connection conn, it.unibz.inf.ontop.model.type.TypeFactory typeFactory) throws SQLException
SQLExceptionpublic static void loadMetadata(RDBMetadata metadata, Connection conn, Set<it.unibz.inf.ontop.dbschema.RelationID> realTables) throws SQLException
SQLExceptionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.