org.apache.accumulo.core.util.shell.commands
Class ClearCommand
java.lang.Object
org.apache.accumulo.core.util.shell.Shell.Command
org.apache.accumulo.core.util.shell.commands.ClearCommand
- Direct Known Subclasses:
- ClsCommand
public class ClearCommand
- extends Shell.Command
Methods inherited from class org.apache.accumulo.core.util.shell.Shell.Command |
getName, getOptions, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClearCommand
public ClearCommand()
description
public String description()
- Specified by:
description
in class Shell.Command
execute
public int execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState)
throws IOException
- Specified by:
execute
in class Shell.Command
- Throws:
IOException
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 © 2015 Apache Accumulo Project. All rights reserved.