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

java.lang.Object
  extended by org.apache.accumulo.core.util.shell.Shell.Command
      extended by org.apache.accumulo.core.util.shell.commands.SetIterCommand
Direct Known Subclasses:
SetScanIterCommand

public class SetIterCommand
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
SetIterCommand()
           
 
Method Summary
 String description()
           
 int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState)
           
 org.apache.commons.cli.Options getOptions()
           
 int numArgs()
           
protected  void setTableProperties(org.apache.commons.cli.CommandLine cl, Shell shellState, String tableName, int priority, Map<String,String> options, String classname, String name)
           
 
Methods inherited from class org.apache.accumulo.core.util.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetIterCommand

public SetIterCommand()
Method Detail

execute

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

setTableProperties

protected void setTableProperties(org.apache.commons.cli.CommandLine cl,
                                  Shell shellState,
                                  String tableName,
                                  int priority,
                                  Map<String,String> options,
                                  String classname,
                                  String name)
                           throws AccumuloException,
                                  AccumuloSecurityException,
                                  ShellCommandException,
                                  TableNotFoundException
Throws:
AccumuloException
AccumuloSecurityException
ShellCommandException
TableNotFoundException

description

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

getOptions

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

numArgs

public int numArgs()
Specified by:
numArgs in class Shell.Command


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.