Package highfive.commands
Class CopyCommand
- java.lang.Object
-
- highfive.commands.Command
-
- highfive.commands.DataSourceCommand
-
- highfive.commands.DualDataSourceCommand
-
- highfive.commands.CopyCommand
-
public class CopyCommand extends DualDataSourceCommand
-
-
Field Summary
-
Fields inherited from class highfive.commands.DualDataSourceCommand
ds2
-
Fields inherited from class highfive.commands.DataSourceCommand
DF, ds
-
-
Constructor Summary
Constructors Constructor Description CopyCommand(String sourceDatasourceName, String destDatasourceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class highfive.commands.DualDataSourceCommand
run
-
Methods inherited from class highfive.commands.DataSourceCommand
checkIfHashingAndCopyingIsSupported, displayRowCount
-
Methods inherited from class highfive.commands.Command
error, error, getCommandName, info
-
-
-
-
Constructor Detail
-
CopyCommand
public CopyCommand(String sourceDatasourceName, String destDatasourceName) throws InvalidConfigurationException, SQLException, UnsupportedDatabaseTypeException
-
-
Method Detail
-
execute
public void execute() throws SQLException, InvalidSchemaException, CouldNotCopyDataException, UnsupportedDatabaseTypeException- Specified by:
executein classDataSourceCommand- Throws:
SQLExceptionInvalidSchemaExceptionCouldNotCopyDataExceptionUnsupportedDatabaseTypeException
-
-