@ThreadSafe @PublicApi public class LoadMetadataCommand extends AbstractFileSystemCommand
mFileSystem, mFsContext| Constructor and Description |
|---|
LoadMetadataCommand(FileSystemContext fsContext)
Constructs a new instance to load metadata for the given Alluxio path from UFS.
|
| 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) |
protected void |
runPlainPath(AlluxioURI plainPath,
org.apache.commons.cli.CommandLine cl)
Runs the command for a particular URI that does not contain wildcard in its path.
|
void |
validateArgs(org.apache.commons.cli.CommandLine cl) |
processHeader, runWildCardCmdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getSubCommands, hasSubCommand, parseAndValidateArgspublic LoadMetadataCommand(FileSystemContext fsContext)
fsContext - the filesystem of Alluxiopublic java.lang.String getCommandName()
public org.apache.commons.cli.Options getOptions()
protected void runPlainPath(AlluxioURI plainPath, org.apache.commons.cli.CommandLine cl) throws AlluxioException, java.io.IOException
AbstractFileSystemCommandrunPlainPath in class AbstractFileSystemCommandplainPath - an AlluxioURI that does not contain wildcardcl - object containing the original commandLineAlluxioExceptionjava.io.IOExceptionpublic int run(org.apache.commons.cli.CommandLine cl)
throws AlluxioException,
java.io.IOException
AlluxioExceptionjava.io.IOExceptionpublic java.lang.String getUsage()
public java.lang.String getDescription()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionCopyright © 2022. All Rights Reserved.