public enum ThriftUdfErrorCodeSupplier extends Enum<ThriftUdfErrorCodeSupplier> implements ErrorCodeSupplier
| Enum Constant and Description |
|---|
THRIFT_UDF_EXTERNAL_ERROR |
THRIFT_UDF_INSUFFICIENT_RESOURCES |
THRIFT_UDF_SERVER_ERROR |
THRIFT_UDF_USER_ERROR |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
toErrorCode() |
static ThriftUdfErrorCodeSupplier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftUdfErrorCodeSupplier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftUdfErrorCodeSupplier THRIFT_UDF_USER_ERROR
public static final ThriftUdfErrorCodeSupplier THRIFT_UDF_EXTERNAL_ERROR
public static final ThriftUdfErrorCodeSupplier THRIFT_UDF_SERVER_ERROR
public static final ThriftUdfErrorCodeSupplier THRIFT_UDF_INSUFFICIENT_RESOURCES
public static ThriftUdfErrorCodeSupplier[] values()
for (ThriftUdfErrorCodeSupplier c : ThriftUdfErrorCodeSupplier.values()) System.out.println(c);
public static ThriftUdfErrorCodeSupplier 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 ErrorCode toErrorCode()
toErrorCode in interface ErrorCodeSupplierCopyright © 2012–2023. All rights reserved.