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

java.lang.Object
  extended by org.apache.accumulo.core.util.shell.Shell.Command
      extended by org.apache.accumulo.core.util.shell.commands.ShellPluginConfigurationCommand
          extended by org.apache.accumulo.core.util.shell.commands.FormatterCommand

public class FormatterCommand
extends ShellPluginConfigurationCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.accumulo.core.util.shell.Shell.Command
Shell.Command.CompletionSet
 
Constructor Summary
FormatterCommand()
           
 
Method Summary
 String description()
           
static Class<? extends Formatter> getCurrentFormatter(String tableName, Shell shellState)
           
 org.apache.commons.cli.Options getOptions()
           
protected  void removePlugin(org.apache.commons.cli.CommandLine cl, Shell shellState, String tableName)
           
protected  void setPlugin(org.apache.commons.cli.CommandLine cl, Shell shellState, String tableName, String className)
           
 
Methods inherited from class org.apache.accumulo.core.util.shell.commands.ShellPluginConfigurationCommand
execute, getPluginClass, numArgs
 
Methods inherited from class org.apache.accumulo.core.util.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatterCommand

public FormatterCommand()
Method Detail

description

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

getCurrentFormatter

public static Class<? extends Formatter> getCurrentFormatter(String tableName,
                                                             Shell shellState)

getOptions

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

setPlugin

protected void setPlugin(org.apache.commons.cli.CommandLine cl,
                         Shell shellState,
                         String tableName,
                         String className)
                  throws AccumuloException,
                         AccumuloSecurityException
Overrides:
setPlugin in class ShellPluginConfigurationCommand
Throws:
AccumuloException
AccumuloSecurityException

removePlugin

protected void removePlugin(org.apache.commons.cli.CommandLine cl,
                            Shell shellState,
                            String tableName)
                     throws AccumuloException,
                            AccumuloSecurityException
Overrides:
removePlugin in class ShellPluginConfigurationCommand
Throws:
AccumuloException
AccumuloSecurityException


Copyright © 2015 Apache Accumulo Project. All rights reserved.