public abstract static class Shell.TableOperation extends Shell.Command
Shell.Command.CompletionSet
Constructor and Description |
---|
Shell.TableOperation() |
Modifier and Type | Method and Description |
---|---|
String |
description() |
protected abstract void |
doTableOp(Shell shellState,
String tableName) |
int |
execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState) |
org.apache.commons.cli.Options |
getOptions() |
int |
numArgs() |
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
public int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws Exception
execute
in class Shell.Command
Exception
protected abstract void doTableOp(Shell shellState, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
public String description()
description
in class Shell.Command
public org.apache.commons.cli.Options getOptions()
getOptions
in class Shell.Command
public int numArgs()
numArgs
in class Shell.Command
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.