public class AttachDatabaseCommand extends AbstractTableCommand
mClient, mConf| Constructor and Description |
|---|
AttachDatabaseCommand(AlluxioConfiguration conf,
TableMasterClient client)
Creates a new instance of
AttachDatabaseCommand. |
| 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getSubCommands, hasSubCommand, parseAndValidateArgspublic AttachDatabaseCommand(AlluxioConfiguration conf, TableMasterClient client)
AttachDatabaseCommand.conf - alluxio configurationclient - the table master client used to make RPCspublic 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 AlluxioStatusException
run in interface Commandrun in class AbstractTableCommandAlluxioStatusExceptionpublic java.lang.String getCommandName()
getCommandName in interface CommandgetCommandName in class AbstractTableCommandpublic java.lang.String getDescription()
public java.lang.String getUsage()
Copyright © 2020. All Rights Reserved.