Class SetIterCommand
java.lang.Object
org.apache.accumulo.shell.Shell.Command
org.apache.accumulo.shell.commands.SetIterCommand
- Direct Known Subclasses:
SetScanIterCommand,SetShellIterCommand
-
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 TypeMethodDescriptionintorg.apache.commons.cli.OptionsintnumArgs()If the number of arguments is not always zero (not including those arguments handled through Options), make sure to override theShell.Command.usage()method.protected voidsetBaseOptions(org.apache.commons.cli.Options options) protected voidsetNamespaceProperties(org.apache.commons.cli.CommandLine cl, Shell shellState, int priority, Map<String, String> options, String classname, String name) protected voidsetTableProperties(org.apache.commons.cli.CommandLine cl, Shell shellState, int priority, Map<String, String> options, String classname, String name) Methods inherited from class org.apache.accumulo.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
-
Constructor Details
-
SetIterCommand
public SetIterCommand()
-
-
Method Details
-
execute
public int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, IOException, ShellCommandException, ContextClassLoaderFactory.ContextClassLoaderException -
setTableProperties
protected void setTableProperties(org.apache.commons.cli.CommandLine cl, Shell shellState, int priority, Map<String, String> options, String classname, String name) throws AccumuloException, AccumuloSecurityException, ShellCommandException, TableNotFoundException -
setNamespaceProperties
protected void setNamespaceProperties(org.apache.commons.cli.CommandLine cl, Shell shellState, int priority, Map<String, String> options, String classname, String name) throws AccumuloException, AccumuloSecurityException, ShellCommandException, NamespaceNotFoundException -
description
- Specified by:
descriptionin classShell.Command
-
setBaseOptions
protected void setBaseOptions(org.apache.commons.cli.Options options) -
getOptions
public org.apache.commons.cli.Options getOptions()- Overrides:
getOptionsin 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
-