Enum IcebergErrorCode

java.lang.Object
java.lang.Enum<IcebergErrorCode>
io.trino.plugin.iceberg.IcebergErrorCode
All Implemented Interfaces:
ErrorCodeSupplier, Serializable, Comparable<IcebergErrorCode>, java.lang.constant.Constable

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

    • ICEBERG_INVALID_METADATA

      public static final IcebergErrorCode ICEBERG_INVALID_METADATA
    • ICEBERG_TOO_MANY_OPEN_PARTITIONS

      public static final IcebergErrorCode ICEBERG_TOO_MANY_OPEN_PARTITIONS
    • ICEBERG_INVALID_PARTITION_VALUE

      public static final IcebergErrorCode ICEBERG_INVALID_PARTITION_VALUE
    • ICEBERG_BAD_DATA

      public static final IcebergErrorCode ICEBERG_BAD_DATA
    • ICEBERG_MISSING_DATA

      public static final IcebergErrorCode ICEBERG_MISSING_DATA
    • ICEBERG_CANNOT_OPEN_SPLIT

      public static final IcebergErrorCode ICEBERG_CANNOT_OPEN_SPLIT
    • ICEBERG_WRITER_OPEN_ERROR

      public static final IcebergErrorCode ICEBERG_WRITER_OPEN_ERROR
    • ICEBERG_FILESYSTEM_ERROR

      public static final IcebergErrorCode ICEBERG_FILESYSTEM_ERROR
    • ICEBERG_CURSOR_ERROR

      public static final IcebergErrorCode ICEBERG_CURSOR_ERROR
    • ICEBERG_WRITE_VALIDATION_FAILED

      public static final IcebergErrorCode ICEBERG_WRITE_VALIDATION_FAILED
    • ICEBERG_INVALID_SNAPSHOT_ID

      public static final IcebergErrorCode ICEBERG_INVALID_SNAPSHOT_ID
    • ICEBERG_COMMIT_ERROR

      public static final IcebergErrorCode ICEBERG_COMMIT_ERROR
    • ICEBERG_CATALOG_ERROR

      public static final IcebergErrorCode ICEBERG_CATALOG_ERROR
    • ICEBERG_WRITER_CLOSE_ERROR

      public static final IcebergErrorCode ICEBERG_WRITER_CLOSE_ERROR
  • Method Details

    • values

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

      public static IcebergErrorCode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • toErrorCode

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