public enum HiveErrorCode extends Enum<HiveErrorCode> implements ErrorCodeSupplier
Modifier and Type | Method and Description |
---|---|
ErrorCode |
toErrorCode() |
static HiveErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveErrorCode HIVE_METASTORE_ERROR
public static final HiveErrorCode HIVE_CURSOR_ERROR
public static final HiveErrorCode HIVE_TABLE_OFFLINE
public static final HiveErrorCode HIVE_CANNOT_OPEN_SPLIT
public static final HiveErrorCode HIVE_FILE_NOT_FOUND
public static final HiveErrorCode HIVE_UNKNOWN_ERROR
public static final HiveErrorCode HIVE_PARTITION_OFFLINE
public static final HiveErrorCode HIVE_BAD_DATA
public static final HiveErrorCode HIVE_PARTITION_SCHEMA_MISMATCH
public static final HiveErrorCode HIVE_MISSING_DATA
public static final HiveErrorCode HIVE_INVALID_PARTITION_VALUE
public static final HiveErrorCode HIVE_TIMEZONE_MISMATCH
public static final HiveErrorCode HIVE_INVALID_METADATA
public static final HiveErrorCode HIVE_INVALID_VIEW_DATA
public static final HiveErrorCode HIVE_DATABASE_LOCATION_ERROR
public static final HiveErrorCode HIVE_PATH_ALREADY_EXISTS
public static final HiveErrorCode HIVE_FILESYSTEM_ERROR
public static final HiveErrorCode HIVE_WRITER_ERROR
public static final HiveErrorCode HIVE_SERDE_NOT_FOUND
public static final HiveErrorCode HIVE_UNSUPPORTED_FORMAT
public static final HiveErrorCode HIVE_PARTITION_READ_ONLY
public static final HiveErrorCode HIVE_TOO_MANY_OPEN_PARTITIONS
public static final HiveErrorCode HIVE_CONCURRENT_MODIFICATION_DETECTED
public static final HiveErrorCode HIVE_COLUMN_ORDER_MISMATCH
public static final HiveErrorCode HIVE_FILE_MISSING_COLUMN_NAMES
public static HiveErrorCode[] values()
for (HiveErrorCode c : HiveErrorCode.values()) System.out.println(c);
public static HiveErrorCode 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 ErrorCodeSupplier
Copyright © 2012-2016. All Rights Reserved.