Package io.prestosql.testing
Enum TestingAccessControlManager.TestingPrivilegeType
- java.lang.Object
-
- java.lang.Enum<TestingAccessControlManager.TestingPrivilegeType>
-
- io.prestosql.testing.TestingAccessControlManager.TestingPrivilegeType
-
- All Implemented Interfaces:
Serializable
,Comparable<TestingAccessControlManager.TestingPrivilegeType>
- Enclosing class:
- TestingAccessControlManager
public static enum TestingAccessControlManager.TestingPrivilegeType extends Enum<TestingAccessControlManager.TestingPrivilegeType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestingAccessControlManager.TestingPrivilegeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TestingAccessControlManager.TestingPrivilegeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SET_USER
public static final TestingAccessControlManager.TestingPrivilegeType SET_USER
-
IMPERSONATE_USER
public static final TestingAccessControlManager.TestingPrivilegeType IMPERSONATE_USER
-
EXECUTE_QUERY
public static final TestingAccessControlManager.TestingPrivilegeType EXECUTE_QUERY
-
VIEW_QUERY
public static final TestingAccessControlManager.TestingPrivilegeType VIEW_QUERY
-
KILL_QUERY
public static final TestingAccessControlManager.TestingPrivilegeType KILL_QUERY
-
EXECUTE_FUNCTION
public static final TestingAccessControlManager.TestingPrivilegeType EXECUTE_FUNCTION
-
CREATE_SCHEMA
public static final TestingAccessControlManager.TestingPrivilegeType CREATE_SCHEMA
-
DROP_SCHEMA
public static final TestingAccessControlManager.TestingPrivilegeType DROP_SCHEMA
-
RENAME_SCHEMA
public static final TestingAccessControlManager.TestingPrivilegeType RENAME_SCHEMA
-
SHOW_CREATE_TABLE
public static final TestingAccessControlManager.TestingPrivilegeType SHOW_CREATE_TABLE
-
CREATE_TABLE
public static final TestingAccessControlManager.TestingPrivilegeType CREATE_TABLE
-
DROP_TABLE
public static final TestingAccessControlManager.TestingPrivilegeType DROP_TABLE
-
RENAME_TABLE
public static final TestingAccessControlManager.TestingPrivilegeType RENAME_TABLE
-
COMMENT_TABLE
public static final TestingAccessControlManager.TestingPrivilegeType COMMENT_TABLE
-
COMMENT_COLUMN
public static final TestingAccessControlManager.TestingPrivilegeType COMMENT_COLUMN
-
INSERT_TABLE
public static final TestingAccessControlManager.TestingPrivilegeType INSERT_TABLE
-
DELETE_TABLE
public static final TestingAccessControlManager.TestingPrivilegeType DELETE_TABLE
-
SHOW_COLUMNS
public static final TestingAccessControlManager.TestingPrivilegeType SHOW_COLUMNS
-
ADD_COLUMN
public static final TestingAccessControlManager.TestingPrivilegeType ADD_COLUMN
-
DROP_COLUMN
public static final TestingAccessControlManager.TestingPrivilegeType DROP_COLUMN
-
RENAME_COLUMN
public static final TestingAccessControlManager.TestingPrivilegeType RENAME_COLUMN
-
SELECT_COLUMN
public static final TestingAccessControlManager.TestingPrivilegeType SELECT_COLUMN
-
CREATE_VIEW
public static final TestingAccessControlManager.TestingPrivilegeType CREATE_VIEW
-
RENAME_VIEW
public static final TestingAccessControlManager.TestingPrivilegeType RENAME_VIEW
-
DROP_VIEW
public static final TestingAccessControlManager.TestingPrivilegeType DROP_VIEW
-
CREATE_VIEW_WITH_SELECT_COLUMNS
public static final TestingAccessControlManager.TestingPrivilegeType CREATE_VIEW_WITH_SELECT_COLUMNS
-
GRANT_EXECUTE_FUNCTION
public static final TestingAccessControlManager.TestingPrivilegeType GRANT_EXECUTE_FUNCTION
-
SET_SESSION
public static final TestingAccessControlManager.TestingPrivilegeType SET_SESSION
-
-
Method Detail
-
values
public static TestingAccessControlManager.TestingPrivilegeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TestingAccessControlManager.TestingPrivilegeType c : TestingAccessControlManager.TestingPrivilegeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestingAccessControlManager.TestingPrivilegeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-