@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)
connection
- Live database connection.schemaCrawlerOptions
- Options.public static Catalog getCatalog(Connection connection, SchemaRetrievalOptions schemaRetrievalOptions, SchemaCrawlerOptions schemaCrawlerOptions, Config additionalConfig)
public static ResultsColumns getResultsColumns(ResultSet resultSet)
resultSet
- Live result-set.public static SchemaRetrievalOptions matchSchemaRetrievalOptions(Connection connection)
Copyright © 2000-2022 Sualeh Fatehi. All rights reserved.