org.apache.accumulo.core.util.shell
Class Shell

java.lang.Object
  extended by org.apache.accumulo.core.util.shell.Shell

public class Shell
extends java.lang.Object

A convenient console interface to perform basic accumulo functions Includes auto-complete, help, and quoted strings with escape sequences


Nested Class Summary
static class Shell.AboutCommand
           
static class Shell.AddSplitsCommand
           
static class Shell.AuthenticateCommand
           
static class Shell.ByeCommand
           
static class Shell.ClasspathCommand
           
static class Shell.ClearCommand
           
static class Shell.ClsCommand
           
static class Shell.Command
          The Command class represents a command to be run in the shell.
static class Shell.CommandFactory
          Command Factory is a class that holds the command table, which is a mapping from a string representing the command to a class.
static class Shell.CompactCommand
           
static class Shell.ConfigCommand
           
static class Shell.CreateTableCommand
           
static class Shell.CreateUserCommand
           
static class Shell.DebugCommand
           
static class Shell.DeleteCommand
           
static class Shell.DeleteIterCommand
           
static class Shell.DeleteManyCommand
           
static class Shell.DeleteScanIterCommand
           
static class Shell.DeleteTableCommand
           
static class Shell.DeleteUserCommand
           
static class Shell.DropTableCommand
           
static class Shell.DropUserCommand
           
static class Shell.EGrepCommand
           
static class Shell.ExecfileCommand
           
static class Shell.ExitCommand
           
static class Shell.FlushCommand
           
static class Shell.FormatterCommand
           
static class Shell.GetAuthsCommand
           
static class Shell.GetGroupsCommand
           
static class Shell.GetSplitsCommand
           
static class Shell.GrantCommand
           
static class Shell.GrepCommand
           
static class Shell.HelpCommand
           
static class Shell.HiddenCommand
           
static class Shell.ImportDirectoryCommand
           
static class Shell.InfoCommand
           
static class Shell.InsertCommand
           
static class Shell.ListScansCommand
           
static class Shell.MasterStateCommand
           
static class Shell.OfflineCommand
           
static class Shell.OnlineCommand
           
static class Shell.PasswdCommand
           
static class Shell.PrintFile
           
static interface Shell.PrintLine
           
static class Shell.PrintShell
           
static class Shell.QuestionCommand
           
static class Shell.QuitCommand
           
static class Shell.RenameTableCommand
           
static class Shell.RevokeCommand
           
static class Shell.ScanCommand
           
static class Shell.SelectCommand
           
static class Shell.SelectrowCommand
           
static class Shell.SetAuthsCommand
           
static class Shell.SetGroupsCommand
           
static class Shell.SetIterCommand
           
static class Shell.SetScanIterCommand
           
static class Shell.SystemPermissionsCommand
           
static class Shell.TableCommand
           
static class Shell.TablePermissionsCommand
           
static class Shell.TablesCommand
           
static class Shell.TraceCommand
           
static class Shell.UserCommand
           
static class Shell.UserPermissionsCommand
           
static class Shell.UsersCommand
           
static class Shell.WhoAmICommand
           
 
Field Summary
 jline.ConsoleReader reader
           
 
Constructor Summary
Shell()
           
 
Method Summary
 void config(java.lang.String... args)
           
static boolean isDebuggingEnabled()
           
static void main(java.lang.String[] args)
           
 int start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

public jline.ConsoleReader reader
Constructor Detail

Shell

public Shell()
Method Detail

config

public void config(java.lang.String... args)

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

start

public int start()
          throws java.io.IOException
Throws:
java.io.IOException

isDebuggingEnabled

public static final boolean isDebuggingEnabled()


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