@Generated public enum Privilege extends Enum<Privilege>
Modifier and Type | Method and Description |
---|---|
static Privilege |
valueOf(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.
|
public static final Privilege ALL_PRIVILEGES
public static final Privilege CREATE
public static final Privilege CREATE_CATALOG
public static final Privilege CREATE_CONNECTION
public static final Privilege CREATE_EXTERNAL_LOCATION
public static final Privilege CREATE_EXTERNAL_TABLE
public static final Privilege CREATE_FOREIGN_CATALOG
public static final Privilege CREATE_FUNCTION
public static final Privilege CREATE_MANAGED_STORAGE
public static final Privilege CREATE_MATERIALIZED_VIEW
public static final Privilege CREATE_PROVIDER
public static final Privilege CREATE_RECIPIENT
public static final Privilege CREATE_SCHEMA
public static final Privilege CREATE_SHARE
public static final Privilege CREATE_STORAGE_CREDENTIAL
public static final Privilege CREATE_TABLE
public static final Privilege CREATE_VIEW
public static final Privilege EXECUTE
public static final Privilege MODIFY
public static final Privilege READ_FILES
public static final Privilege READ_PRIVATE_FILES
public static final Privilege REFRESH
public static final Privilege SELECT
public static final Privilege SET_SHARE_PERMISSION
public static final Privilege USAGE
public static final Privilege USE_CATALOG
public static final Privilege USE_CONNECTION
public static final Privilege USE_MARKETPLACE_ASSETS
public static final Privilege USE_PROVIDER
public static final Privilege USE_RECIPIENT
public static final Privilege USE_SCHEMA
public static final Privilege USE_SHARE
public static final Privilege WRITE_FILES
public static final Privilege WRITE_PRIVATE_FILES
public static Privilege[] values()
for (Privilege c : Privilege.values()) System.out.println(c);
public static Privilege valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.