Package highfive.commands
Class DualDataSourceCommand
- java.lang.Object
-
- highfive.commands.Command
-
- highfive.commands.DataSourceCommand
-
- highfive.commands.DualDataSourceCommand
-
- Direct Known Subclasses:
CopyCommand
public abstract class DualDataSourceCommand extends DataSourceCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected DataSourceds2-
Fields inherited from class highfive.commands.DataSourceCommand
DF, ds
-
-
Constructor Summary
Constructors Constructor Description DualDataSourceCommand(String commandName, String datasourceName1, String datasourceName2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()-
Methods inherited from class highfive.commands.DataSourceCommand
checkIfHashingAndCopyingIsSupported, displayRowCount, execute
-
Methods inherited from class highfive.commands.Command
error, error, getCommandName, info
-
-
-
-
Field Detail
-
ds2
protected DataSource ds2
-
-
Constructor Detail
-
DualDataSourceCommand
public DualDataSourceCommand(String commandName, String datasourceName1, String datasourceName2) throws InvalidConfigurationException, SQLException, UnsupportedDatabaseTypeException
-
-
Method Detail
-
run
public final void run() throws SQLException, UnsupportedDatabaseTypeException, InvalidSchemaException, NoSuchAlgorithmException, CouldNotHashException, IOException, InvalidHashFileException, CouldNotCopyDataException, InvalidConfigurationException
-
-