public enum HiveCommand extends Enum<HiveCommand>
Enum Constant and Description |
---|
ADD |
COMPILE |
CRYPTO |
DELETE |
DFS |
LIST |
LLAP_CACHE |
LLAP_CLUSTER |
RELOAD |
RESET |
SET |
Modifier and Type | Field and Description |
---|---|
static boolean |
ONLY_FOR_TESTING |
Modifier and Type | Method and Description |
---|---|
static HiveCommand |
find(String[] command) |
static HiveCommand |
find(String[] command,
boolean findOnlyForTesting) |
boolean |
isOnlyForTesting() |
static HiveCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveCommand SET
public static final HiveCommand RESET
public static final HiveCommand DFS
public static final HiveCommand CRYPTO
public static final HiveCommand ADD
public static final HiveCommand LIST
public static final HiveCommand LLAP_CLUSTER
public static final HiveCommand LLAP_CACHE
public static final HiveCommand RELOAD
public static final HiveCommand DELETE
public static final HiveCommand COMPILE
public static final boolean ONLY_FOR_TESTING
public static HiveCommand[] values()
for (HiveCommand c : HiveCommand.values()) System.out.println(c);
public static HiveCommand 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 isOnlyForTesting()
public static HiveCommand find(String[] command)
public static HiveCommand find(String[] command, boolean findOnlyForTesting)
Copyright © 2022 The Apache Software Foundation. All rights reserved.