public static enum Privilege.Name extends java.lang.Enum<Privilege.Name>
Enum Constant and Description |
---|
ADD_GROUP
The privilege to add a group
|
ADD_USER
The privilege to add a user
|
ALTER_CATALOG
The privilege to alter a catalog.
|
ALTER_SCHEMA
The privilege to alter a schema.
|
CREATE_CATALOG
The privilege to create a catalog.
|
CREATE_FILESET
The privilege to create a fileset.
|
CREATE_METALAKE
The privilege to create a metalake.
|
CREATE_ROLE
The privilege to create a role
|
CREATE_SCHEMA
The privilege to create a schema.
|
CREATE_TABLE
The privilege to create a table.
|
CREATE_TOPIC
The privilege to create a topic.
|
DELETE_ROLE
The privilege to delete a role
|
DROP_CATALOG
The privilege to drop a catalog.
|
DROP_FILESET
The privilege to drop a fileset.
|
DROP_SCHEMA
The privilege to drop a schema.
|
DROP_TABLE
The privilege to drop a table.
|
DROP_TOPIC
The privilege to drop a topic.
|
GET_GROUP
The privilege to get a group
|
GET_ROLE
The privilege to get a role
|
GET_USER
The privilege to get a user
|
GRANT_ROLE
The privilege to grant a role to the user or the group.
|
MANAGE_METALAKE
The privilege to manage a metalake, including drop and alter a metalake.
|
READ_FILESET
The privilege to read a fileset.
|
READ_TABLE
The privilege to read a table.
|
READ_TOPIC
The privilege to read a topic.
|
REMOVE_GROUP
The privilege to remove a group
|
REMOVE_USER
The privilege to remove a user
|
REVOKE_ROLE
The privilege to revoke a role from the user or the group.
|
USE_CATALOG
The privilege to use a catalog.
|
USE_METALAKE
The privilege to use a metalake, the user can load the information of the metalake.
|
USE_SCHEMA
the privilege to use a schema.
|
WRITE_FILESET
The privilege to write a fileset.
|
WRITE_TABLE
The privilege to write a table.
|
WRITE_TOPIC
The privilege to write a topic.
|
Modifier and Type | Method and Description |
---|---|
long |
getHighBits()
Return the high bits of Name
|
long |
getLowBits()
Return the low bits of Name
|
static Privilege.Name |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Privilege.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Privilege.Name CREATE_CATALOG
public static final Privilege.Name DROP_CATALOG
public static final Privilege.Name ALTER_CATALOG
public static final Privilege.Name USE_CATALOG
public static final Privilege.Name CREATE_SCHEMA
public static final Privilege.Name DROP_SCHEMA
public static final Privilege.Name ALTER_SCHEMA
public static final Privilege.Name USE_SCHEMA
public static final Privilege.Name CREATE_TABLE
public static final Privilege.Name DROP_TABLE
public static final Privilege.Name WRITE_TABLE
public static final Privilege.Name READ_TABLE
public static final Privilege.Name CREATE_FILESET
public static final Privilege.Name DROP_FILESET
public static final Privilege.Name WRITE_FILESET
public static final Privilege.Name READ_FILESET
public static final Privilege.Name CREATE_TOPIC
public static final Privilege.Name DROP_TOPIC
public static final Privilege.Name WRITE_TOPIC
public static final Privilege.Name READ_TOPIC
public static final Privilege.Name CREATE_METALAKE
public static final Privilege.Name MANAGE_METALAKE
public static final Privilege.Name USE_METALAKE
public static final Privilege.Name ADD_USER
public static final Privilege.Name REMOVE_USER
public static final Privilege.Name GET_USER
public static final Privilege.Name ADD_GROUP
public static final Privilege.Name REMOVE_GROUP
public static final Privilege.Name GET_GROUP
public static final Privilege.Name CREATE_ROLE
public static final Privilege.Name DELETE_ROLE
public static final Privilege.Name GRANT_ROLE
public static final Privilege.Name REVOKE_ROLE
public static final Privilege.Name GET_ROLE
public static Privilege.Name[] values()
for (Privilege.Name c : Privilege.Name.values()) System.out.println(c);
public static Privilege.Name valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long getLowBits()
public long getHighBits()