public enum HiveVersion extends java.lang.Enum<HiveVersion>
Enum Constant and Description |
---|
HIVE_1_2 |
HIVE_2 |
HIVE_3 |
HIVE_4 |
NOT_SUPPORTED |
Modifier and Type | Method and Description |
---|---|
static HiveVersion |
current() |
static boolean |
min(HiveVersion other) |
static HiveVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HiveVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveVersion HIVE_4
public static final HiveVersion HIVE_3
public static final HiveVersion HIVE_2
public static final HiveVersion HIVE_1_2
public static final HiveVersion NOT_SUPPORTED
public static HiveVersion[] values()
for (HiveVersion c : HiveVersion.values()) System.out.println(c);
public static HiveVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static HiveVersion current()
public static boolean min(HiveVersion other)