org.apache.hadoop.hive.ql.security.authorization
Enum Privilege.PrivilegeType
java.lang.Object
java.lang.Enum<Privilege.PrivilegeType>
org.apache.hadoop.hive.ql.security.authorization.Privilege.PrivilegeType
- All Implemented Interfaces:
- Serializable, Comparable<Privilege.PrivilegeType>
- Enclosing class:
- Privilege
public static enum Privilege.PrivilegeType
- extends Enum<Privilege.PrivilegeType>
ALL
public static final Privilege.PrivilegeType ALL
ALTER_DATA
public static final Privilege.PrivilegeType ALTER_DATA
ALTER_METADATA
public static final Privilege.PrivilegeType ALTER_METADATA
CREATE
public static final Privilege.PrivilegeType CREATE
DROP
public static final Privilege.PrivilegeType DROP
INDEX
public static final Privilege.PrivilegeType INDEX
LOCK
public static final Privilege.PrivilegeType LOCK
SELECT
public static final Privilege.PrivilegeType SELECT
SHOW_DATABASE
public static final Privilege.PrivilegeType SHOW_DATABASE
UNKNOWN
public static final Privilege.PrivilegeType UNKNOWN
values
public static Privilege.PrivilegeType[] 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.PrivilegeType c : Privilege.PrivilegeType.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.PrivilegeType 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 name
NullPointerException
- if the argument is null
Copyright © 2011 The Apache Software Foundation