public enum HiveWarningCode extends Enum<HiveWarningCode> implements WarningCodeSupplier
| Enum Constant and Description |
|---|
PARTITION_NOT_READABLE |
| Modifier and Type | Field and Description |
|---|---|
static int |
WARNING_CODE_MASK |
| Modifier and Type | Method and Description |
|---|---|
WarningCode |
toWarningCode() |
static HiveWarningCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveWarningCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveWarningCode PARTITION_NOT_READABLE
public static final int WARNING_CODE_MASK
public static HiveWarningCode[] values()
for (HiveWarningCode c : HiveWarningCode.values()) System.out.println(c);
public static HiveWarningCode 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 WarningCode toWarningCode()
toWarningCode in interface WarningCodeSupplierCopyright © 2012–2022. All rights reserved.