Enum Class HiveErrorCode

java.lang.Object
java.lang.Enum<HiveErrorCode>
io.trino.plugin.hive.HiveErrorCode
All Implemented Interfaces:
ErrorCodeSupplier, Serializable, Comparable<HiveErrorCode>, Constable

public enum HiveErrorCode extends Enum<HiveErrorCode> implements ErrorCodeSupplier
  • Enum Constant Details

    • HIVE_METASTORE_ERROR

      public static final HiveErrorCode HIVE_METASTORE_ERROR
    • HIVE_CURSOR_ERROR

      public static final HiveErrorCode HIVE_CURSOR_ERROR
    • HIVE_TABLE_OFFLINE

      public static final HiveErrorCode HIVE_TABLE_OFFLINE
    • HIVE_CANNOT_OPEN_SPLIT

      public static final HiveErrorCode HIVE_CANNOT_OPEN_SPLIT
    • HIVE_FILE_NOT_FOUND

      public static final HiveErrorCode HIVE_FILE_NOT_FOUND
    • HIVE_UNKNOWN_ERROR

      public static final HiveErrorCode HIVE_UNKNOWN_ERROR
    • HIVE_PARTITION_OFFLINE

      public static final HiveErrorCode HIVE_PARTITION_OFFLINE
    • HIVE_BAD_DATA

      public static final HiveErrorCode HIVE_BAD_DATA
    • HIVE_PARTITION_SCHEMA_MISMATCH

      public static final HiveErrorCode HIVE_PARTITION_SCHEMA_MISMATCH
    • HIVE_INVALID_PARTITION_VALUE

      public static final HiveErrorCode HIVE_INVALID_PARTITION_VALUE
    • HIVE_TIMEZONE_MISMATCH

      public static final HiveErrorCode HIVE_TIMEZONE_MISMATCH
    • HIVE_INVALID_METADATA

      public static final HiveErrorCode HIVE_INVALID_METADATA
    • HIVE_INVALID_VIEW_DATA

      public static final HiveErrorCode HIVE_INVALID_VIEW_DATA
    • HIVE_DATABASE_LOCATION_ERROR

      public static final HiveErrorCode HIVE_DATABASE_LOCATION_ERROR
    • HIVE_PATH_ALREADY_EXISTS

      public static final HiveErrorCode HIVE_PATH_ALREADY_EXISTS
    • HIVE_FILESYSTEM_ERROR

      public static final HiveErrorCode HIVE_FILESYSTEM_ERROR
    • HIVE_SERDE_NOT_FOUND

      public static final HiveErrorCode HIVE_SERDE_NOT_FOUND
    • HIVE_UNSUPPORTED_FORMAT

      public static final HiveErrorCode HIVE_UNSUPPORTED_FORMAT
    • HIVE_PARTITION_READ_ONLY

      public static final HiveErrorCode HIVE_PARTITION_READ_ONLY
    • HIVE_TOO_MANY_OPEN_PARTITIONS

      public static final HiveErrorCode HIVE_TOO_MANY_OPEN_PARTITIONS
    • HIVE_CONCURRENT_MODIFICATION_DETECTED

      public static final HiveErrorCode HIVE_CONCURRENT_MODIFICATION_DETECTED
    • HIVE_COLUMN_ORDER_MISMATCH

      public static final HiveErrorCode HIVE_COLUMN_ORDER_MISMATCH
    • HIVE_FILE_MISSING_COLUMN_NAMES

      public static final HiveErrorCode HIVE_FILE_MISSING_COLUMN_NAMES
    • HIVE_WRITER_OPEN_ERROR

      public static final HiveErrorCode HIVE_WRITER_OPEN_ERROR
    • HIVE_WRITER_CLOSE_ERROR

      public static final HiveErrorCode HIVE_WRITER_CLOSE_ERROR
    • HIVE_WRITER_DATA_ERROR

      public static final HiveErrorCode HIVE_WRITER_DATA_ERROR
    • HIVE_INVALID_BUCKET_FILES

      public static final HiveErrorCode HIVE_INVALID_BUCKET_FILES
    • HIVE_EXCEEDED_PARTITION_LIMIT

      public static final HiveErrorCode HIVE_EXCEEDED_PARTITION_LIMIT
    • HIVE_WRITE_VALIDATION_FAILED

      public static final HiveErrorCode HIVE_WRITE_VALIDATION_FAILED
    • HIVE_PARTITION_DROPPED_DURING_QUERY

      public static final HiveErrorCode HIVE_PARTITION_DROPPED_DURING_QUERY
    • HIVE_TABLE_READ_ONLY

      public static final HiveErrorCode HIVE_TABLE_READ_ONLY
    • HIVE_PARTITION_NOT_READABLE

      public static final HiveErrorCode HIVE_PARTITION_NOT_READABLE
    • HIVE_TABLE_NOT_READABLE

      public static final HiveErrorCode HIVE_TABLE_NOT_READABLE
    • HIVE_TABLE_DROPPED_DURING_QUERY

      public static final HiveErrorCode HIVE_TABLE_DROPPED_DURING_QUERY
    • HIVE_CORRUPTED_COLUMN_STATISTICS

      public static final HiveErrorCode HIVE_CORRUPTED_COLUMN_STATISTICS
    • HIVE_EXCEEDED_SPLIT_BUFFERING_LIMIT

      public static final HiveErrorCode HIVE_EXCEEDED_SPLIT_BUFFERING_LIMIT
    • HIVE_UNKNOWN_COLUMN_STATISTIC_TYPE

      public static final HiveErrorCode HIVE_UNKNOWN_COLUMN_STATISTIC_TYPE
    • HIVE_TABLE_LOCK_NOT_ACQUIRED

      public static final HiveErrorCode HIVE_TABLE_LOCK_NOT_ACQUIRED
    • HIVE_VIEW_TRANSLATION_ERROR

      public static final HiveErrorCode HIVE_VIEW_TRANSLATION_ERROR
    • HIVE_PARTITION_NOT_FOUND

      public static final HiveErrorCode HIVE_PARTITION_NOT_FOUND
    • HIVE_INVALID_TIMESTAMP_COERCION

      public static final HiveErrorCode HIVE_INVALID_TIMESTAMP_COERCION
  • Method Details

    • values

      public static HiveErrorCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HiveErrorCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toErrorCode

      public ErrorCode toErrorCode()
      Specified by:
      toErrorCode in interface ErrorCodeSupplier