org.apache.hadoop.hive.ql.plan
Enum RoleDDLDesc.RoleOperation
java.lang.Object
java.lang.Enum<RoleDDLDesc.RoleOperation>
org.apache.hadoop.hive.ql.plan.RoleDDLDesc.RoleOperation
- All Implemented Interfaces:
- Serializable, Comparable<RoleDDLDesc.RoleOperation>
- Enclosing class:
- RoleDDLDesc
public static enum RoleDDLDesc.RoleOperation
- extends Enum<RoleDDLDesc.RoleOperation>
DROP_ROLE
public static final RoleDDLDesc.RoleOperation DROP_ROLE
CREATE_ROLE
public static final RoleDDLDesc.RoleOperation CREATE_ROLE
SHOW_ROLE_GRANT
public static final RoleDDLDesc.RoleOperation SHOW_ROLE_GRANT
values
public static RoleDDLDesc.RoleOperation[] 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 (RoleDDLDesc.RoleOperation c : RoleDDLDesc.RoleOperation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RoleDDLDesc.RoleOperation 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
getOperationName
public String getOperationName()
toString
public String toString()
- Overrides:
toString
in class Enum<RoleDDLDesc.RoleOperation>
Copyright © 2013 The Apache Software Foundation