Enum Class Privilege.Name

java.lang.Object
java.lang.Enum<Privilege.Name>
org.apache.gravitino.authorization.Privilege.Name
All Implemented Interfaces:
Serializable, Comparable<Privilege.Name>, Constable
Enclosing interface:
Privilege

public static enum Privilege.Name extends Enum<Privilege.Name>
The name of this privilege.
  • Enum Constant Details

    • CREATE_CATALOG

      public static final Privilege.Name CREATE_CATALOG
      The privilege to create a catalog.
    • USE_CATALOG

      public static final Privilege.Name USE_CATALOG
      The privilege to use a catalog.
    • CREATE_SCHEMA

      public static final Privilege.Name CREATE_SCHEMA
      The privilege to create a schema.
    • USE_SCHEMA

      public static final Privilege.Name USE_SCHEMA
      the privilege to use a schema.
    • CREATE_TABLE

      public static final Privilege.Name CREATE_TABLE
      The privilege to create a table.
    • MODIFY_TABLE

      public static final Privilege.Name MODIFY_TABLE
      The privilege to write data to a table or modify the table schema.
    • SELECT_TABLE

      public static final Privilege.Name SELECT_TABLE
      The privilege to select data from a table.
    • CREATE_FILESET

      public static final Privilege.Name CREATE_FILESET
      The privilege to create a fileset.
    • WRITE_FILESET

      public static final Privilege.Name WRITE_FILESET
      The privilege to write a fileset.
    • READ_FILESET

      public static final Privilege.Name READ_FILESET
      The privilege to read a fileset.
    • CREATE_TOPIC

      public static final Privilege.Name CREATE_TOPIC
      The privilege to create a topic.
    • PRODUCE_TOPIC

      public static final Privilege.Name PRODUCE_TOPIC
      The privilege to produce to a topic.
    • CONSUME_TOPIC

      public static final Privilege.Name CONSUME_TOPIC
      The privilege to consume from a topic.
    • MANAGE_USERS

      public static final Privilege.Name MANAGE_USERS
      The privilege to manage users
    • MANAGE_GROUPS

      public static final Privilege.Name MANAGE_GROUPS
      The privilege to manage groups
    • CREATE_ROLE

      public static final Privilege.Name CREATE_ROLE
      The privilege to create a role
    • MANAGE_GRANTS

      public static final Privilege.Name MANAGE_GRANTS
      The privilege to grant or revoke a role for the user or the group.
    • CREATE_MODEL

      public static final Privilege.Name CREATE_MODEL
      The privilege to create a model
    • CREATE_MODEL_VERSION

      public static final Privilege.Name CREATE_MODEL_VERSION
      The privilege to create a model version
    • USE_MODEL

      public static final Privilege.Name USE_MODEL
      The privilege to view the metadata of the model and download all the model versions
  • Method Details

    • values

      public static Privilege.Name[] 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 Privilege.Name 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
    • getLowBits

      public long getLowBits()
      Return the low bits of Name
      Returns:
      The low bits of Name
    • getHighBits

      public long getHighBits()
      Return the high bits of Name
      Returns:
      The high bits of Name