public abstract class AbstractTableCommand extends java.lang.Object implements Command
TableShell.| Modifier and Type | Field and Description |
|---|---|
protected TableMasterClient |
mClient |
protected AlluxioConfiguration |
mConf |
| Constructor and Description |
|---|
AbstractTableCommand(AlluxioConfiguration conf,
TableMasterClient client)
Creates a new instance of
AbstractTableCommand. |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getCommandName() |
abstract int |
run(org.apache.commons.cli.CommandLine cl) |
abstract void |
validateArgs(org.apache.commons.cli.CommandLine cl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getDescription, getOptions, getSubCommands, getUsage, hasSubCommand, parseAndValidateArgsprotected final AlluxioConfiguration mConf
protected final TableMasterClient mClient
public AbstractTableCommand(AlluxioConfiguration conf, TableMasterClient client)
AbstractTableCommand.conf - the alluxio configurationclient - the client interface which can be used to make RPCs against the table masterpublic abstract java.lang.String getCommandName()
getCommandName in interface Commandpublic abstract void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
validateArgs in interface CommandInvalidArgumentExceptionpublic abstract int run(org.apache.commons.cli.CommandLine cl)
throws AlluxioException,
java.io.IOException
run in interface CommandAlluxioExceptionjava.io.IOExceptionCopyright © 2020. All Rights Reserved.