Enum Class Privilege.Name
- All Implemented Interfaces:
Serializable
,Comparable<Privilege.Name>
,Constable
- Enclosing interface:
- Privilege
The name of this privilege.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe privilege to consume from a topic.The privilege to create a catalog.The privilege to create a fileset.The privilege to create a modelThe privilege to create a model versionThe privilege to create a roleThe privilege to create a schema.The privilege to create a table.The privilege to create a topic.The privilege to grant or revoke a role for the user or the group.The privilege to manage groupsThe privilege to manage usersThe privilege to write data to a table or modify the table schema.The privilege to produce to a topic.The privilege to read a fileset.The privilege to select data from a table.The privilege to use a catalog.The privilege to view the metadata of the model and download all the model versionsthe privilege to use a schema.The privilege to write a fileset. -
Method Summary
Modifier and TypeMethodDescriptionlong
Return the high bits of Namelong
Return the low bits of Namestatic Privilege.Name
Returns the enum constant of this class with the specified name.static Privilege.Name[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE_CATALOG
The privilege to create a catalog. -
USE_CATALOG
The privilege to use a catalog. -
CREATE_SCHEMA
The privilege to create a schema. -
USE_SCHEMA
the privilege to use a schema. -
CREATE_TABLE
The privilege to create a table. -
MODIFY_TABLE
The privilege to write data to a table or modify the table schema. -
SELECT_TABLE
The privilege to select data from a table. -
CREATE_FILESET
The privilege to create a fileset. -
WRITE_FILESET
The privilege to write a fileset. -
READ_FILESET
The privilege to read a fileset. -
CREATE_TOPIC
The privilege to create a topic. -
PRODUCE_TOPIC
The privilege to produce to a topic. -
CONSUME_TOPIC
The privilege to consume from a topic. -
MANAGE_USERS
The privilege to manage users -
MANAGE_GROUPS
The privilege to manage groups -
CREATE_ROLE
The privilege to create a role -
MANAGE_GRANTS
The privilege to grant or revoke a role for the user or the group. -
CREATE_MODEL
The privilege to create a model -
CREATE_MODEL_VERSION
The privilege to create a model version -
USE_MODEL
The privilege to view the metadata of the model and download all the model versions
-
-
Method Details
-
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
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 nameNullPointerException
- 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
-