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

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

public class DeleteCommand
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
DeleteCommand()
           
 
Method Summary
 String description()
           
 int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState)
           
 org.apache.commons.cli.Options getOptions()
           
protected  long getTimeout(org.apache.commons.cli.CommandLine cl)
           
 int numArgs()
          If the number of arguments is not always zero (not including those arguments handled through Options), make sure to override the Shell.Command.usage() method.
 String usage()
           
 
Methods inherited from class org.apache.accumulo.core.util.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteCommand

public DeleteCommand()
Method Detail

getTimeout

protected long getTimeout(org.apache.commons.cli.CommandLine cl)

execute

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

description

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

usage

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

getOptions

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

numArgs

public int numArgs()
Description copied from class: Shell.Command
If the number of arguments is not always zero (not including those arguments handled through Options), make sure to override the Shell.Command.usage() method. Otherwise, Shell.Command.usage() does need to be overridden.

Specified by:
numArgs in class Shell.Command


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.