public abstract class AbstractTableCommand extends AbstractDistributedJobCommand
TableShell.| Modifier and Type | Field and Description |
|---|---|
protected TableMasterClient |
mClient |
protected AlluxioConfiguration |
mConf |
ASYNC_OPTION, DEFAULT_ACTIVE_JOBS, mActiveJobs, mSubmittedJobAttemptsmFileSystem, mFsContext| Constructor and Description |
|---|
AbstractTableCommand(AlluxioConfiguration conf,
TableMasterClient client,
FileSystemContext fsContext)
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) |
drain, getCompletedCmdCount, getCompletedCount, getFailedCmdCount, getFailedCount, getFailedFiles, postProcessing, processFailures, submit, waitForCmd, waitJobprocessHeader, runPlainPath, runWildCardCmdclone, 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, FileSystemContext fsContext)
AbstractTableCommand.conf - the alluxio configurationclient - the client interface which can be used to make RPCs against the table masterfsContext - the filesystem of Alluxiopublic abstract java.lang.String getCommandName()
public abstract void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionpublic abstract int run(org.apache.commons.cli.CommandLine cl)
throws AlluxioException,
java.io.IOException
AlluxioExceptionjava.io.IOExceptionCopyright © 2022. All Rights Reserved.