Enum Class TableWritePrivilege

Object
Enum<TableWritePrivilege>
org.apache.spark.sql.connector.catalog.TableWritePrivilege
All Implemented Interfaces:
Serializable, Comparable<TableWritePrivilege>, Constable

public enum TableWritePrivilege extends Enum<TableWritePrivilege>
The table write privileges that will be provided when loading a table.
Since:
3.5.3
  • Enum Constant Details

    • INSERT

      public static final TableWritePrivilege INSERT
      The privilege for adding rows to the table.
    • UPDATE

      public static final TableWritePrivilege UPDATE
      The privilege for changing existing rows in th table.
    • DELETE

      public static final TableWritePrivilege DELETE
      The privilege for deleting rows from the table.
  • Method Details

    • values

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