@ThriftEnum public enum ErrorCause extends Enum<ErrorCause>
| Enum Constant and Description |
|---|
EXCEEDS_BROADCAST_MEMORY_LIMIT |
LOW_PARTITION_COUNT |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static ErrorCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCause UNKNOWN
public static final ErrorCause LOW_PARTITION_COUNT
public static final ErrorCause EXCEEDS_BROADCAST_MEMORY_LIMIT
public static ErrorCause[] values()
for (ErrorCause c : ErrorCause.values()) System.out.println(c);
public static ErrorCause 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 null@ThriftEnumValue public int getCode()
Copyright © 2012–2022. All rights reserved.