Enum Privilege
- java.lang.Object
-
- java.lang.Enum<Privilege>
-
- com.databricks.sdk.service.sharing.Privilege
-
- All Implemented Interfaces:
Serializable,Comparable<Privilege>
@Generated public enum Privilege extends Enum<Privilege>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrivilegevalueOf(String name)Returns the enum constant of this type with the specified name.static Privilege[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_PRIVILEGES
public static final Privilege ALL_PRIVILEGES
-
CREATE
public static final Privilege CREATE
-
CREATE_CATALOG
public static final Privilege CREATE_CATALOG
-
CREATE_EXTERNAL_LOCATION
public static final Privilege CREATE_EXTERNAL_LOCATION
-
CREATE_EXTERNAL_TABLE
public static final Privilege CREATE_EXTERNAL_TABLE
-
CREATE_FUNCTION
public static final Privilege CREATE_FUNCTION
-
CREATE_MANAGED_STORAGE
public static final Privilege CREATE_MANAGED_STORAGE
-
CREATE_MATERIALIZED_VIEW
public static final Privilege CREATE_MATERIALIZED_VIEW
-
CREATE_PROVIDER
public static final Privilege CREATE_PROVIDER
-
CREATE_RECIPIENT
public static final Privilege CREATE_RECIPIENT
-
CREATE_SCHEMA
public static final Privilege CREATE_SCHEMA
-
CREATE_SHARE
public static final Privilege CREATE_SHARE
-
CREATE_STORAGE_CREDENTIAL
public static final Privilege CREATE_STORAGE_CREDENTIAL
-
CREATE_TABLE
public static final Privilege CREATE_TABLE
-
CREATE_VIEW
public static final Privilege CREATE_VIEW
-
EXECUTE
public static final Privilege EXECUTE
-
MODIFY
public static final Privilege MODIFY
-
READ_FILES
public static final Privilege READ_FILES
-
READ_PRIVATE_FILES
public static final Privilege READ_PRIVATE_FILES
-
REFRESH
public static final Privilege REFRESH
-
SELECT
public static final Privilege SELECT
-
SET_SHARE_PERMISSION
public static final Privilege SET_SHARE_PERMISSION
-
USAGE
public static final Privilege USAGE
-
USE_CATALOG
public static final Privilege USE_CATALOG
-
USE_MARKETPLACE_ASSETS
public static final Privilege USE_MARKETPLACE_ASSETS
-
USE_PROVIDER
public static final Privilege USE_PROVIDER
-
USE_RECIPIENT
public static final Privilege USE_RECIPIENT
-
USE_SCHEMA
public static final Privilege USE_SCHEMA
-
USE_SHARE
public static final Privilege USE_SHARE
-
WRITE_FILES
public static final Privilege WRITE_FILES
-
WRITE_PRIVATE_FILES
public static final Privilege WRITE_PRIVATE_FILES
-
-
Method Detail
-
values
public static Privilege[] 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 (Privilege c : Privilege.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Privilege 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
-
-