Enum ExasolGlobalPrivilege
- java.lang.Object
-
- java.lang.Enum<ExasolGlobalPrivilege>
-
- com.exasol.dbbuilder.dialects.exasol.ExasolGlobalPrivilege
-
- All Implemented Interfaces:
GlobalPrivilege,Serializable,Comparable<ExasolGlobalPrivilege>
public enum ExasolGlobalPrivilege extends Enum<ExasolGlobalPrivilege> implements GlobalPrivilege
Exasol global privilege as used in aGRANT.- See Also:
- Exasol documentation*
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_ANY_CONNECTIONAccess any connection Exasol global privilege.ALTER_ANY_CONNECTIONAlter any connection Exasol global privilege.ALTER_ANY_SCHEMAAlter any schema Exasol global privilege.ALTER_ANY_TABLEAlter any table Exasol global privilege.ALTER_ANY_VIRTUAL_SCHEMAAlter any virtual schema Exasol global privilege.ALTER_ANY_VIRTUAL_SCHEMA_REFRESHAlter any virtual schema refresh Exasol global privilege.ALTER_SYSTEMAlter system Exasol global privilege.ALTER_USERAlter user Exasol global privilege.CREATE_ANY_FUNCTIONCreate any function Exasol global privilege.CREATE_ANY_SCRIPTCreate any script Exasol global privilege.CREATE_ANY_TABLECreate any table Exasol global privilege.CREATE_ANY_VIEWCreate any view Exasol global privilege.CREATE_CONNECTIONCreate connection Exasol global privilege.CREATE_FUNCTIONCreate function Exasol global privilege.CREATE_ROLECreate role Exasol global privilege.CREATE_SCHEMACreate schema Exasol global privilege.CREATE_SCRIPTCreate script Exasol global privilege.CREATE_SESSIONCreate session Exasol global privilege.CREATE_TABLECreate table Exasol global privilege.CREATE_USERCreate user Exasol global privilege.CREATE_VIEWCreate view Exasol global privilege.CREATE_VIRTUAL_SCHEMACreate virtual schema Exasol global privilege.DELETE_ANY_TABLEDelete any table Exasol global privilege.DROP_ANY_CONNECTIONDrop any connection Exasol global privilege.DROP_ANY_FUNCTIONDrop any function Exasol global privilege.DROP_ANY_ROLEDrop any role Exasol global privilege.DROP_ANY_SCHEMADrop any schema Exasol global privilege.DROP_ANY_SCRIPTDrop any script Exasol global privilege.DROP_ANY_TABLEDrop any table Exasol global privilege.DROP_ANY_VIEWDrop any view Exasol global privilege.DROP_ANY_VIRTUAL_SCHEMADrop any virtual schema Exasol global privilege.DROP_USERDrop user Exasol global privilege.EXECUTE_ANY_FUNCTIONExecute any function Exasol global privilege.EXECUTE_ANY_SCRIPTExecute any script Exasol global privilege.EXPORTExport Exasol global privilege.GRANT_ANY_CONNECTIONGrant any connection Exasol global privilege.GRANT_ANY_OBJECT_PRIVILEGEGrant any object privilege Exasol global privilege.GRANT_ANY_PRIORITY_GROUPGrant any priority group Exasol global privilege.GRANT_ANY_PRIVILEGEGrant any privilege Exasol global privilege.GRANT_ANY_ROLEGrant any role Exasol global privilege.IMPERSONATE_ANY_USERImpersonate any user Exasol global privilege.IMPORTImport Exasol global privilege.INSERT_ANY_TABLEInsert any table Exasol global privilege.KILL_ANY_SESSIONKill any session Exasol global privilege.MANAGE_PRIORITY_GROUPSManage priority groups Exasol global privilege.SELECT_ANY_DICTIONARYSelect any dictionary Exasol global privilege.SELECT_ANY_TABLESelect any table Exasol global privilege.UPDATE_ANY_TABLEUpdate any table Exasol global privilege.USE_ANY_CONNECTIONUse any connection Exasol global privilege.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Default Methods Modifier and Type Method Description default StringgetSqlName()Get a space-separated name of a privilege.Stringname()Get a privilege name as it is.static ExasolGlobalPrivilegevalueOf(String name)Returns the enum constant of this type with the specified name.static ExasolGlobalPrivilege[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRANT_ANY_OBJECT_PRIVILEGE
public static final ExasolGlobalPrivilege GRANT_ANY_OBJECT_PRIVILEGE
Grant any object privilege Exasol global privilege.
-
GRANT_ANY_PRIVILEGE
public static final ExasolGlobalPrivilege GRANT_ANY_PRIVILEGE
Grant any privilege Exasol global privilege.
-
GRANT_ANY_PRIORITY_GROUP
public static final ExasolGlobalPrivilege GRANT_ANY_PRIORITY_GROUP
Grant any priority group Exasol global privilege.
-
MANAGE_PRIORITY_GROUPS
public static final ExasolGlobalPrivilege MANAGE_PRIORITY_GROUPS
Manage priority groups Exasol global privilege.
-
CREATE_SESSION
public static final ExasolGlobalPrivilege CREATE_SESSION
Create session Exasol global privilege.
-
KILL_ANY_SESSION
public static final ExasolGlobalPrivilege KILL_ANY_SESSION
Kill any session Exasol global privilege.
-
ALTER_SYSTEM
public static final ExasolGlobalPrivilege ALTER_SYSTEM
Alter system Exasol global privilege.
-
IMPORT
public static final ExasolGlobalPrivilege IMPORT
Import Exasol global privilege.
-
EXPORT
public static final ExasolGlobalPrivilege EXPORT
Export Exasol global privilege.
-
CREATE_USER
public static final ExasolGlobalPrivilege CREATE_USER
Create user Exasol global privilege.
-
ALTER_USER
public static final ExasolGlobalPrivilege ALTER_USER
Alter user Exasol global privilege.
-
DROP_USER
public static final ExasolGlobalPrivilege DROP_USER
Drop user Exasol global privilege.
-
IMPERSONATE_ANY_USER
public static final ExasolGlobalPrivilege IMPERSONATE_ANY_USER
Impersonate any user Exasol global privilege.
-
CREATE_ROLE
public static final ExasolGlobalPrivilege CREATE_ROLE
Create role Exasol global privilege.
-
DROP_ANY_ROLE
public static final ExasolGlobalPrivilege DROP_ANY_ROLE
Drop any role Exasol global privilege.
-
GRANT_ANY_ROLE
public static final ExasolGlobalPrivilege GRANT_ANY_ROLE
Grant any role Exasol global privilege.
-
CREATE_CONNECTION
public static final ExasolGlobalPrivilege CREATE_CONNECTION
Create connection Exasol global privilege.
-
ALTER_ANY_CONNECTION
public static final ExasolGlobalPrivilege ALTER_ANY_CONNECTION
Alter any connection Exasol global privilege.
-
DROP_ANY_CONNECTION
public static final ExasolGlobalPrivilege DROP_ANY_CONNECTION
Drop any connection Exasol global privilege.
-
GRANT_ANY_CONNECTION
public static final ExasolGlobalPrivilege GRANT_ANY_CONNECTION
Grant any connection Exasol global privilege.
-
USE_ANY_CONNECTION
public static final ExasolGlobalPrivilege USE_ANY_CONNECTION
Use any connection Exasol global privilege.
-
ACCESS_ANY_CONNECTION
public static final ExasolGlobalPrivilege ACCESS_ANY_CONNECTION
Access any connection Exasol global privilege.
-
CREATE_SCHEMA
public static final ExasolGlobalPrivilege CREATE_SCHEMA
Create schema Exasol global privilege.
-
ALTER_ANY_SCHEMA
public static final ExasolGlobalPrivilege ALTER_ANY_SCHEMA
Alter any schema Exasol global privilege.
-
DROP_ANY_SCHEMA
public static final ExasolGlobalPrivilege DROP_ANY_SCHEMA
Drop any schema Exasol global privilege.
-
CREATE_VIRTUAL_SCHEMA
public static final ExasolGlobalPrivilege CREATE_VIRTUAL_SCHEMA
Create virtual schema Exasol global privilege.
-
ALTER_ANY_VIRTUAL_SCHEMA
public static final ExasolGlobalPrivilege ALTER_ANY_VIRTUAL_SCHEMA
Alter any virtual schema Exasol global privilege.
-
ALTER_ANY_VIRTUAL_SCHEMA_REFRESH
public static final ExasolGlobalPrivilege ALTER_ANY_VIRTUAL_SCHEMA_REFRESH
Alter any virtual schema refresh Exasol global privilege.
-
DROP_ANY_VIRTUAL_SCHEMA
public static final ExasolGlobalPrivilege DROP_ANY_VIRTUAL_SCHEMA
Drop any virtual schema Exasol global privilege.
-
CREATE_TABLE
public static final ExasolGlobalPrivilege CREATE_TABLE
Create table Exasol global privilege.
-
CREATE_ANY_TABLE
public static final ExasolGlobalPrivilege CREATE_ANY_TABLE
Create any table Exasol global privilege.
-
ALTER_ANY_TABLE
public static final ExasolGlobalPrivilege ALTER_ANY_TABLE
Alter any table Exasol global privilege.
-
DELETE_ANY_TABLE
public static final ExasolGlobalPrivilege DELETE_ANY_TABLE
Delete any table Exasol global privilege.
-
DROP_ANY_TABLE
public static final ExasolGlobalPrivilege DROP_ANY_TABLE
Drop any table Exasol global privilege.
-
INSERT_ANY_TABLE
public static final ExasolGlobalPrivilege INSERT_ANY_TABLE
Insert any table Exasol global privilege.
-
SELECT_ANY_TABLE
public static final ExasolGlobalPrivilege SELECT_ANY_TABLE
Select any table Exasol global privilege.
-
SELECT_ANY_DICTIONARY
public static final ExasolGlobalPrivilege SELECT_ANY_DICTIONARY
Select any dictionary Exasol global privilege.
-
UPDATE_ANY_TABLE
public static final ExasolGlobalPrivilege UPDATE_ANY_TABLE
Update any table Exasol global privilege.
-
CREATE_VIEW
public static final ExasolGlobalPrivilege CREATE_VIEW
Create view Exasol global privilege.
-
CREATE_ANY_VIEW
public static final ExasolGlobalPrivilege CREATE_ANY_VIEW
Create any view Exasol global privilege.
-
DROP_ANY_VIEW
public static final ExasolGlobalPrivilege DROP_ANY_VIEW
Drop any view Exasol global privilege.
-
CREATE_FUNCTION
public static final ExasolGlobalPrivilege CREATE_FUNCTION
Create function Exasol global privilege.
-
CREATE_ANY_FUNCTION
public static final ExasolGlobalPrivilege CREATE_ANY_FUNCTION
Create any function Exasol global privilege.
-
DROP_ANY_FUNCTION
public static final ExasolGlobalPrivilege DROP_ANY_FUNCTION
Drop any function Exasol global privilege.
-
EXECUTE_ANY_FUNCTION
public static final ExasolGlobalPrivilege EXECUTE_ANY_FUNCTION
Execute any function Exasol global privilege.
-
CREATE_SCRIPT
public static final ExasolGlobalPrivilege CREATE_SCRIPT
Create script Exasol global privilege.
-
CREATE_ANY_SCRIPT
public static final ExasolGlobalPrivilege CREATE_ANY_SCRIPT
Create any script Exasol global privilege.
-
DROP_ANY_SCRIPT
public static final ExasolGlobalPrivilege DROP_ANY_SCRIPT
Drop any script Exasol global privilege.
-
EXECUTE_ANY_SCRIPT
public static final ExasolGlobalPrivilege EXECUTE_ANY_SCRIPT
Execute any script Exasol global privilege.
-
-
Method Detail
-
values
public static ExasolGlobalPrivilege[] 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 (ExasolGlobalPrivilege c : ExasolGlobalPrivilege.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExasolGlobalPrivilege 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
-
getSqlName
public default String getSqlName()
Get a space-separated name of a privilege.- Returns:
- privilege as a string
-
name
public abstract String name()
Get a privilege name as it is.- Returns:
- privilege as a string
-
-