org.apache.accumulo.core.util.shell.commands
public class FormatterCommand extends ShellPluginConfigurationCommand
Shell.Command.CompletionSet
Constructor and Description |
---|
FormatterCommand() |
Modifier and Type | Method and Description |
---|---|
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) |
execute, getPluginClass, numArgs
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
public String description()
description
in class Shell.Command
public static Class<? extends Formatter> getCurrentFormatter(String tableName, Shell shellState)
public org.apache.commons.cli.Options getOptions()
getOptions
in class ShellPluginConfigurationCommand
protected void setPlugin(org.apache.commons.cli.CommandLine cl, Shell shellState, String tableName, String className) throws AccumuloException, AccumuloSecurityException
setPlugin
in class ShellPluginConfigurationCommand
AccumuloException
AccumuloSecurityException
protected void removePlugin(org.apache.commons.cli.CommandLine cl, Shell shellState, String tableName) throws AccumuloException, AccumuloSecurityException
removePlugin
in class ShellPluginConfigurationCommand
AccumuloException
AccumuloSecurityException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.