public final class SchemaCrawler extends Object
Constructor and Description |
---|
SchemaCrawler(Connection connection,
DatabaseSpecificOverrideOptions databaseSpecificOverrideOptions)
Constructs a SchemaCrawler object, from a connection.
|
Modifier and Type | Method and Description |
---|---|
Catalog |
crawl(SchemaCrawlerOptions options)
Crawls the database, to obtain database metadata.
|
static ResultsColumns |
getResultColumns(ResultSet resultSet)
Gets the result set columns metadata.
|
public SchemaCrawler(Connection connection, DatabaseSpecificOverrideOptions databaseSpecificOverrideOptions) throws SchemaCrawlerException
connection
- An database connection.databaseSpecificOverrideOptions
- Database specific overridesSchemaCrawlerException
- On a crawler exceptionpublic static ResultsColumns getResultColumns(ResultSet resultSet)
resultSet
- Result setpublic Catalog crawl(SchemaCrawlerOptions options) throws SchemaCrawlerException
options
- SchemaCrawler options that control what metadata is returnedSchemaCrawlerException
- On an exceptionCopyright © 2000-2015 Sualeh Fatehi. All rights reserved.