Class TableCommand
java.lang.Object
org.apache.accumulo.shell.Shell.Command
org.apache.accumulo.shell.commands.TableCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.accumulo.shell.Shell.Command
Shell.Command.CompletionSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintnumArgs()If the number of arguments is not always zero (not including those arguments handled through Options), make sure to override theShell.Command.usage()method.voidregisterCompletion(Token root, Map<Shell.Command.CompletionSet, Set<String>> special) usage()Methods inherited from class org.apache.accumulo.shell.Shell.Command
getName, getOptions, getOptionsWithHelp, printHelp, printHelp, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral
-
Constructor Details
-
TableCommand
public TableCommand()
-
-
Method Details
-
execute
public int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws AccumuloException, AccumuloSecurityException, TableNotFoundException - Specified by:
executein classShell.Command- Throws:
AccumuloExceptionAccumuloSecurityExceptionTableNotFoundException
-
description
- Specified by:
descriptionin classShell.Command
-
registerCompletion
- Overrides:
registerCompletionin classShell.Command
-
usage
- Overrides:
usagein classShell.Command
-
numArgs
public int numArgs()Description copied from class:Shell.CommandIf the number of arguments is not always zero (not including those arguments handled through Options), make sure to override theShell.Command.usage()method. Otherwise,Shell.Command.usage()does need to be overridden.- Specified by:
numArgsin classShell.Command
-