@ThreadSafe public final class TransformStatusCommand extends AbstractTableCommand
mClient, mConf
Constructor and Description |
---|
TransformStatusCommand(AlluxioConfiguration conf,
TableMasterClient client)
creates the command.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandName()
Gets the command name as input from the shell.
|
String |
getDescription() |
String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cl)
Runs the command.
|
void |
validateArgs(org.apache.commons.cli.CommandLine cl)
Checks if the arguments are valid or throw InvalidArgumentException.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOptions, getSubCommands, hasSubCommand, parseAndValidateArgs
public TransformStatusCommand(AlluxioConfiguration conf, TableMasterClient client)
conf
- alluxio configurationclient
- the table master client used to make RPCspublic String getCommandName()
Command
getCommandName
in interface Command
getCommandName
in class AbstractTableCommand
public String getUsage()
public String getDescription()
public void validateArgs(org.apache.commons.cli.CommandLine cl) throws InvalidArgumentException
Command
validateArgs
in interface Command
validateArgs
in class AbstractTableCommand
cl
- the parsed command line for the argumentsInvalidArgumentException
- when arguments are not validpublic int run(org.apache.commons.cli.CommandLine cl) throws IOException, AlluxioException
Command
run
in interface Command
run
in class AbstractTableCommand
cl
- the parsed command line for the argumentsIOException
AlluxioException
Copyright © 2023. All Rights Reserved.