public static enum CommandLineOptions.Command extends Enum<CommandLineOptions.Command>
Enum Constant and Description |
---|
CLEAN
Convenience command to remove the Drill-on-YARN archive(s) from DFS.
|
DESCRIBE
Convenience command to display the effective configuration settings to
diagnose problems.
|
HELP |
RESIZE |
START
Primary command to upload the application archive and start the Drill cluster.
|
STATUS
Primary command to get the status of a running cluster.
|
STOP
Primary command to stop a running cluster.
|
TEST |
UPLOAD
Convenience command to upload the application archive to test the DFS
settings without launching the Drill cluster.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommand() |
String |
getDescription() |
boolean |
isHidden() |
boolean |
isMatch(String arg) |
static CommandLineOptions.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineOptions.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLineOptions.Command HELP
public static final CommandLineOptions.Command START
public static final CommandLineOptions.Command STOP
public static final CommandLineOptions.Command STATUS
public static final CommandLineOptions.Command RESIZE
public static final CommandLineOptions.Command TEST
public static final CommandLineOptions.Command DESCRIBE
public static final CommandLineOptions.Command UPLOAD
public static final CommandLineOptions.Command CLEAN
public static CommandLineOptions.Command[] values()
for (CommandLineOptions.Command c : CommandLineOptions.Command.values()) System.out.println(c);
public static CommandLineOptions.Command valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isMatch(String arg)
public boolean isHidden()
public String getCommand()
public String getDescription()
Copyright © 1970 The Apache Software Foundation. All rights reserved.