public class DetachDatabaseCommand extends AbstractTableCommand
AttachDatabaseCommand will need to be called again.mClient, mConf| Constructor and Description |
|---|
DetachDatabaseCommand(AlluxioConfiguration conf,
TableMasterClient client)
Creates a new instance of
DetachDatabaseCommand. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandName() |
java.lang.String |
getDescription() |
java.lang.String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cli) |
void |
validateArgs(org.apache.commons.cli.CommandLine cli) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getOptions, getSubCommands, hasSubCommand, parseAndValidateArgspublic DetachDatabaseCommand(AlluxioConfiguration conf, TableMasterClient client)
DetachDatabaseCommand.conf - alluxio configurationclient - the table master clientpublic void validateArgs(org.apache.commons.cli.CommandLine cli)
throws InvalidArgumentException
validateArgs in interface CommandvalidateArgs in class AbstractTableCommandInvalidArgumentExceptionpublic java.lang.String getCommandName()
getCommandName in interface CommandgetCommandName in class AbstractTableCommandpublic java.lang.String getUsage()
public java.lang.String getDescription()
public int run(org.apache.commons.cli.CommandLine cli)
throws AlluxioStatusException
run in interface Commandrun in class AbstractTableCommandAlluxioStatusExceptionCopyright © 2020. All Rights Reserved.