@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 Catalog |
getCatalog(Connection connection,
SchemaRetrievalOptions schemaRetrievalOptions,
SchemaCrawlerOptions schemaCrawlerOptions,
Config additionalConfig) |
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 Catalog getCatalog(Connection connection, SchemaRetrievalOptions schemaRetrievalOptions, SchemaCrawlerOptions schemaCrawlerOptions, Config additionalConfig) throws SchemaCrawlerException
SchemaCrawlerExceptionpublic 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-2021 Sualeh Fatehi. All rights reserved.