public abstract class BaseSchemaCrawlerCommand<C extends CommandOptions> extends Object implements SchemaCrawlerCommand<C>
Modifier and Type | Method and Description |
---|---|
abstract void |
checkAvailability()
Runtime exceptions will be thrown if the command is not available.
|
Catalog |
getCatalog() |
String |
getCommand() |
C |
getCommandOptions() |
Connection |
getConnection() |
Identifiers |
getIdentifiers() |
OutputOptions |
getOutputOptions() |
SchemaCrawlerOptions |
getSchemaCrawlerOptions() |
void |
initialize()
Initializes the command for execution.
|
void |
setCatalog(Catalog catalog) |
void |
setCommandOptions(C commandOptions) |
void |
setConnection(Connection connection) |
void |
setIdentifiers(Identifiers identifiers) |
void |
setOutputOptions(OutputOptions outputOptions) |
void |
setSchemaCrawlerOptions(SchemaCrawlerOptions schemaCrawlerOptions) |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
execute, usesConnection
public abstract void checkAvailability() throws RuntimeException
checkAvailability
in interface SchemaCrawlerCommand<C extends CommandOptions>
RuntimeException
public Catalog getCatalog()
getCatalog
in interface SchemaCrawlerCommand<C extends CommandOptions>
public final String getCommand()
getCommand
in interface SchemaCrawlerCommand<C extends CommandOptions>
public final C getCommandOptions()
getCommandOptions
in interface SchemaCrawlerCommand<C extends CommandOptions>
public Connection getConnection()
getConnection
in interface SchemaCrawlerCommand<C extends CommandOptions>
public Identifiers getIdentifiers()
getIdentifiers
in interface SchemaCrawlerCommand<C extends CommandOptions>
public final OutputOptions getOutputOptions()
getOutputOptions
in interface SchemaCrawlerCommand<C extends CommandOptions>
public final SchemaCrawlerOptions getSchemaCrawlerOptions()
getSchemaCrawlerOptions
in interface SchemaCrawlerCommand<C extends CommandOptions>
public void initialize()
SchemaCrawlerCommand
initialize
in interface SchemaCrawlerCommand<C extends CommandOptions>
public void setCatalog(Catalog catalog)
setCatalog
in interface SchemaCrawlerCommand<C extends CommandOptions>
public final void setCommandOptions(C commandOptions)
setCommandOptions
in interface SchemaCrawlerCommand<C extends CommandOptions>
public void setConnection(Connection connection)
setConnection
in interface SchemaCrawlerCommand<C extends CommandOptions>
public void setIdentifiers(Identifiers identifiers)
setIdentifiers
in interface SchemaCrawlerCommand<C extends CommandOptions>
public final void setOutputOptions(OutputOptions outputOptions)
setOutputOptions
in interface SchemaCrawlerCommand<C extends CommandOptions>
public final void setSchemaCrawlerOptions(SchemaCrawlerOptions schemaCrawlerOptions)
setSchemaCrawlerOptions
in interface SchemaCrawlerCommand<C extends CommandOptions>
Copyright © 2000-2023 Sualeh Fatehi. All rights reserved.