@UtilityMarker public final class SchemaCrawlerUtility extends Object
Modifier and Type | Method and Description |
---|---|
static Catalog |
getCatalog(Connection connection,
SchemaCrawlerOptions schemaCrawlerOptions)
Crawls a database, and returns a catalog.
|
static ResultsColumns |
getResultsColumns(ResultSet resultSet)
Obtains result-set metadata from a live result-set.
|
static SchemaRetrievalOptions |
matchSchemaRetrievalOptions(Connection connection)
Returns database specific options using an existing SchemaCrawler database
plugin.
|
public static Catalog getCatalog(Connection connection, SchemaCrawlerOptions schemaCrawlerOptions) throws SchemaCrawlerException
connection
- Live database connection.schemaCrawlerOptions
- Options.SchemaCrawlerException
- On an exception.public static ResultsColumns getResultsColumns(ResultSet resultSet) throws SchemaCrawlerException
resultSet
- Live result-set.SchemaCrawlerException
- On an exception.public static SchemaRetrievalOptions matchSchemaRetrievalOptions(Connection connection) throws SchemaCrawlerException
SchemaCrawlerException
- On an exception.Copyright © 2000-2020 Sualeh Fatehi. All rights reserved.