Enum Class HudiErrorCode

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

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

    • HUDI_INVALID_PARTITION_VALUE

      public static final HudiErrorCode HUDI_INVALID_PARTITION_VALUE
    • HUDI_BAD_DATA

      public static final HudiErrorCode HUDI_BAD_DATA
    • HUDI_CANNOT_OPEN_SPLIT

      public static final HudiErrorCode HUDI_CANNOT_OPEN_SPLIT
    • HUDI_UNSUPPORTED_FILE_FORMAT

      public static final HudiErrorCode HUDI_UNSUPPORTED_FILE_FORMAT
    • HUDI_CURSOR_ERROR

      public static final HudiErrorCode HUDI_CURSOR_ERROR
    • HUDI_FILESYSTEM_ERROR

      public static final HudiErrorCode HUDI_FILESYSTEM_ERROR
    • HUDI_PARTITION_NOT_FOUND

      public static final HudiErrorCode HUDI_PARTITION_NOT_FOUND
  • Method Details

    • values

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