public abstract class DataSourceCommand extends Command
| Modifier and Type | Field and Description |
|---|---|
protected static DecimalFormat |
DF |
protected DataSource |
ds |
| Constructor and Description |
|---|
DataSourceCommand(String commandName,
String datasourceName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkIfHashingAndCopyingIsSupported(List<Table> tables) |
protected void |
displayRowCount(List<Table> tables) |
abstract void |
execute() |
void |
run() |
error, error, getCommandName, infoprotected DataSource ds
protected static final DecimalFormat DF
public DataSourceCommand(String commandName, String datasourceName) throws InvalidConfigurationException, SQLException, UnsupportedDatabaseTypeException
public void run()
throws SQLException,
UnsupportedDatabaseTypeException,
InvalidSchemaException,
NoSuchAlgorithmException,
CouldNotHashException,
IOException,
InvalidHashFileException,
CouldNotCopyDataException,
InvalidConfigurationException
public abstract void execute()
throws SQLException,
UnsupportedDatabaseTypeException,
InvalidSchemaException,
NoSuchAlgorithmException,
CouldNotHashException,
IOException,
InvalidHashFileException,
CouldNotCopyDataException,
InvalidConfigurationException
protected void displayRowCount(List<Table> tables) throws SQLException
SQLExceptionprotected void checkIfHashingAndCopyingIsSupported(List<Table> tables) throws SQLException, UnsupportedDatabaseTypeException, InvalidConfigurationException
Copyright © 2024. All rights reserved.