Class FormatterCommand
- java.lang.Object
-
- org.apache.accumulo.shell.Shell.Command
-
- org.apache.accumulo.shell.commands.ShellPluginConfigurationCommand
-
- org.apache.accumulo.shell.commands.FormatterCommand
-
public class FormatterCommand extends ShellPluginConfigurationCommand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.shell.Shell.Command
Shell.Command.CompletionSet
-
-
Constructor Summary
Constructors Constructor Description FormatterCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()static Class<? extends Formatter>getCurrentFormatter(String tableName, Shell shellState)org.apache.commons.cli.OptionsgetOptions()protected voidremovePlugin(org.apache.commons.cli.CommandLine cl, Shell shellState, String tableName)protected voidsetPlugin(org.apache.commons.cli.CommandLine cl, Shell shellState, String tableName, String className)-
Methods inherited from class org.apache.accumulo.shell.commands.ShellPluginConfigurationCommand
execute, getPluginClass, numArgs
-
Methods inherited from class org.apache.accumulo.shell.Shell.Command
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
-
-
-
-
Method Detail
-
description
public String description()
- Specified by:
descriptionin classShell.Command
-
getCurrentFormatter
public static Class<? extends Formatter> getCurrentFormatter(String tableName, Shell shellState)
-
getOptions
public org.apache.commons.cli.Options getOptions()
- Overrides:
getOptionsin classShellPluginConfigurationCommand
-
setPlugin
protected void setPlugin(org.apache.commons.cli.CommandLine cl, Shell shellState, String tableName, String className) throws AccumuloException, AccumuloSecurityException- Overrides:
setPluginin classShellPluginConfigurationCommand- Throws:
AccumuloExceptionAccumuloSecurityException
-
removePlugin
protected void removePlugin(org.apache.commons.cli.CommandLine cl, Shell shellState, String tableName) throws AccumuloException, AccumuloSecurityException- Overrides:
removePluginin classShellPluginConfigurationCommand- Throws:
AccumuloExceptionAccumuloSecurityException
-
-