execute
@CliHelpMessage(messageClass=DatasourcesMessages.class,name="copyTableContents",description="commandCopyTableContents_description",nonOptArgs={@NonOptArgument(name="sourceDatasource",description="commandCopyTableContents_sourceDatasource",mandatory=true),@NonOptArgument(name="sourceTable",description="commandCopyTableContents_sourceTable",mandatory=true),@NonOptArgument(name="destinationDatasource",description="commandCopyTableContents_destinationDatasource",mandatory=true),@NonOptArgument(name="destinationTable",description="commandCopyTableContents_destinationTable",mandatory=true),@NonOptArgument(name="primaryKeys",description="commandCopyTableContents_primaryKeys",mandatory=true),@NonOptArgument(name="copyPrimaryKeys",description="commandCopyTableContents_copyPrimaryKeys",mandatory=true),@NonOptArgument(name="batchSize",description="commandCopyTableContents_batchSize",mandatory=false)})
public CommandResult execute(CommandParser parser,
TerminalSession session)
throws TerminalException
- Specified by:
execute
in interface TerminalCommandHook
- Throws:
TerminalException