public enum HudiErrorCode extends Enum<HudiErrorCode> implements ErrorCodeSupplier
| Enum Constant and Description |
|---|
HUDI_CANNOT_GENERATE_SPLIT |
HUDI_CANNOT_OPEN_SPLIT |
HUDI_CURSOR_ERROR |
HUDI_FILESYSTEM_ERROR |
HUDI_INVALID_METADATA |
HUDI_INVALID_PARTITION_VALUE |
HUDI_UNKNOWN_TABLE_TYPE |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
toErrorCode() |
static HudiErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HudiErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HudiErrorCode HUDI_UNKNOWN_TABLE_TYPE
public static final HudiErrorCode HUDI_INVALID_METADATA
public static final HudiErrorCode HUDI_INVALID_PARTITION_VALUE
public static final HudiErrorCode HUDI_FILESYSTEM_ERROR
public static final HudiErrorCode HUDI_CANNOT_OPEN_SPLIT
public static final HudiErrorCode HUDI_CURSOR_ERROR
public static final HudiErrorCode HUDI_CANNOT_GENERATE_SPLIT
public static HudiErrorCode[] values()
for (HudiErrorCode c : HudiErrorCode.values()) System.out.println(c);
public static HudiErrorCode 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.