java.lang.Object
com.aoapps.dbc.meta.Catalog
A friendly wrapper around database meta data.
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets a graph view of the imported/exported table relationships within this catalog.getForeignKeyGraph
(Set<String> tableTypes) Gets a graph view of the imported/exported table relationships within this catalog.getName()
Gets the schema of the provided name.getSchemaOptional
(String name) Gets the schema of the provided name.Gets all schemas for this catalog keyed by unique name.toString()
-
Constructor Details
-
Catalog
-
-
Method Details
-
toString
-
getMetaData
-
getName
-
getSchemas
Gets all schemas for this catalog keyed by unique name.- Throws:
SQLException
- See Also:
-
getSchemaOptional
Gets the schema of the provided name.- Throws:
SQLException
-
getSchema
Gets the schema of the provided name.- Throws:
NoRowException
- if the schema doesn't existSQLException
-
getForeignKeyGraph
Gets a graph view of the imported/exported table relationships within this catalog. -
getForeignKeyGraph
Gets a graph view of the imported/exported table relationships within this catalog.TODO: Check is symmetric in JUnit test
- Parameters:
tableTypes
- the set of tables types ornull
for all types
-