org.apache.accumulo.core.util.shell.commands
Class CloneTableCommand

java.lang.Object
  extended by org.apache.accumulo.core.util.shell.Shell.Command
      extended by org.apache.accumulo.core.util.shell.commands.CloneTableCommand

public class CloneTableCommand
extends Shell.Command


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.accumulo.core.util.shell.Shell.Command
Shell.Command.CompletionSet
 
Constructor Summary
CloneTableCommand()
           
 
Method Summary
 String description()
           
 int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState)
           
 org.apache.commons.cli.Options getOptions()
           
 int numArgs()
           
 void registerCompletion(Token root, Map<Shell.Command.CompletionSet,Set<String>> completionSet)
           
 String usage()
           
 
Methods inherited from class org.apache.accumulo.core.util.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneTableCommand

public CloneTableCommand()
Method Detail

execute

public int execute(String fullCommand,
                   org.apache.commons.cli.CommandLine cl,
                   Shell shellState)
            throws AccumuloException,
                   AccumuloSecurityException,
                   TableNotFoundException,
                   TableExistsException
Specified by:
execute in class Shell.Command
Throws:
AccumuloException
AccumuloSecurityException
TableNotFoundException
TableExistsException

usage

public String usage()
Overrides:
usage in class Shell.Command

description

public String description()
Specified by:
description in class Shell.Command

registerCompletion

public void registerCompletion(Token root,
                               Map<Shell.Command.CompletionSet,Set<String>> completionSet)
Overrides:
registerCompletion in class Shell.Command

getOptions

public org.apache.commons.cli.Options getOptions()
Overrides:
getOptions in class Shell.Command

numArgs

public int numArgs()
Specified by:
numArgs in class Shell.Command


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.