org.apache.accumulo.core.util.shell.commands
public class SetIterCommand extends Shell.Command
Shell.Command.CompletionSet
Constructor and Description |
---|
SetIterCommand() |
Modifier and Type | Method and Description |
---|---|
String |
description() |
int |
execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState) |
org.apache.commons.cli.Options |
getOptions() |
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. |
protected void |
setNamespaceProperties(org.apache.commons.cli.CommandLine cl,
Shell shellState,
int priority,
Map<String,String> options,
String classname,
String name) |
protected void |
setTableProperties(org.apache.commons.cli.CommandLine cl,
Shell shellState,
int priority,
Map<String,String> options,
String classname,
String name) |
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
public int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, IOException, ShellCommandException
execute
in class Shell.Command
AccumuloException
AccumuloSecurityException
TableNotFoundException
IOException
ShellCommandException
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
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
public String description()
description
in class Shell.Command
public org.apache.commons.cli.Options getOptions()
getOptions
in class Shell.Command
public int numArgs()
Shell.Command
Shell.Command.usage()
method.
Otherwise, Shell.Command.usage()
does need to be overridden.numArgs
in class Shell.Command
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.