Enum Class RaptorErrorCode

java.lang.Object
java.lang.Enum<RaptorErrorCode>
io.trino.plugin.raptor.legacy.RaptorErrorCode
All Implemented Interfaces:
ErrorCodeSupplier, Serializable, Comparable<RaptorErrorCode>, Constable

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

    • RAPTOR_ERROR

      public static final RaptorErrorCode RAPTOR_ERROR
    • RAPTOR_EXTERNAL_BATCH_ALREADY_EXISTS

      public static final RaptorErrorCode RAPTOR_EXTERNAL_BATCH_ALREADY_EXISTS
    • RAPTOR_NO_HOST_FOR_SHARD

      public static final RaptorErrorCode RAPTOR_NO_HOST_FOR_SHARD
    • RAPTOR_RECOVERY_ERROR

      public static final RaptorErrorCode RAPTOR_RECOVERY_ERROR
    • RAPTOR_BACKUP_TIMEOUT

      public static final RaptorErrorCode RAPTOR_BACKUP_TIMEOUT
    • RAPTOR_METADATA_ERROR

      public static final RaptorErrorCode RAPTOR_METADATA_ERROR
    • RAPTOR_BACKUP_ERROR

      public static final RaptorErrorCode RAPTOR_BACKUP_ERROR
    • RAPTOR_BACKUP_NOT_FOUND

      public static final RaptorErrorCode RAPTOR_BACKUP_NOT_FOUND
    • RAPTOR_REASSIGNMENT_DELAY

      public static final RaptorErrorCode RAPTOR_REASSIGNMENT_DELAY
    • RAPTOR_REASSIGNMENT_THROTTLE

      public static final RaptorErrorCode RAPTOR_REASSIGNMENT_THROTTLE
    • RAPTOR_RECOVERY_TIMEOUT

      public static final RaptorErrorCode RAPTOR_RECOVERY_TIMEOUT
    • RAPTOR_CORRUPT_METADATA

      public static final RaptorErrorCode RAPTOR_CORRUPT_METADATA
    • RAPTOR_LOCAL_DISK_FULL

      public static final RaptorErrorCode RAPTOR_LOCAL_DISK_FULL
    • RAPTOR_BACKUP_CORRUPTION

      public static final RaptorErrorCode RAPTOR_BACKUP_CORRUPTION
  • Method Details

    • values

      public static RaptorErrorCode[] 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 RaptorErrorCode 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