@ThreadSafe @PublicApi public class LoadTableCommand extends AbstractTableCommand
mClient, mConfASYNC_OPTION, DEFAULT_ACTIVE_JOBS, mActiveJobs, mSubmittedJobAttemptsmFileSystem, mFsContext| Constructor and Description |
|---|
LoadTableCommand(AlluxioConfiguration conf,
TableMasterClient client,
FileSystemContext fsContext)
Constructs a new instance to load table into Alluxio space.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandName() |
java.lang.String |
getDescription() |
org.apache.commons.cli.Options |
getOptions() |
java.lang.String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cl) |
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, getSubCommands, hasSubCommand, parseAndValidateArgspublic LoadTableCommand(AlluxioConfiguration conf, TableMasterClient client, FileSystemContext fsContext)
conf - the alluxio configurationclient - the client interface which can be used to make RPCs against the table masterfsContext - the filesystem of Alluxiopublic java.lang.String getUsage()
public java.lang.String getCommandName()
getCommandName in interface CommandgetCommandName in class AbstractTableCommandpublic java.lang.String getDescription()
public org.apache.commons.cli.Options getOptions()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
validateArgs in interface CommandvalidateArgs in class AbstractTableCommandInvalidArgumentExceptionpublic int run(org.apache.commons.cli.CommandLine cl)
throws AlluxioException,
java.io.IOException
run in interface Commandrun in class AbstractTableCommandAlluxioExceptionjava.io.IOExceptionCopyright © 2022. All Rights Reserved.