public static enum Privilege.Name extends java.lang.Enum<Privilege.Name>
Enum Constant and Description |
---|
CONSUME_TOPIC
The privilege to consume from a topic.
|
CREATE_CATALOG
The privilege to create a catalog.
|
CREATE_FILESET
The privilege to create a fileset.
|
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.
|
MANAGE_GRANTS
The privilege to grant or revoke a role for the user or the group.
|
MANAGE_GROUPS
The privilege to manage groups
|
MANAGE_USERS
The privilege to manage users
|
MODIFY_TABLE
The privilege to execute SQL `ALTER`, `INSERT`, `UPDATE`, or `DELETE` for a table.
|
PRODUCE_TOPIC
The privilege to produce to a topic.
|
READ_FILESET
The privilege to read a fileset.
|
SELECT_TABLE
The privilege to select data from a table.
|
USE_CATALOG
The privilege to use a catalog.
|
USE_SCHEMA
the privilege to use a schema.
|
WRITE_FILESET
The privilege to write a fileset.
|
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 USE_CATALOG
public static final Privilege.Name CREATE_SCHEMA
public static final Privilege.Name USE_SCHEMA
public static final Privilege.Name CREATE_TABLE
public static final Privilege.Name MODIFY_TABLE
public static final Privilege.Name SELECT_TABLE
public static final Privilege.Name CREATE_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 PRODUCE_TOPIC
public static final Privilege.Name CONSUME_TOPIC
public static final Privilege.Name MANAGE_USERS
public static final Privilege.Name MANAGE_GROUPS
public static final Privilege.Name CREATE_ROLE
public static final Privilege.Name MANAGE_GRANTS
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()