public static enum RoleDDLDesc.RoleOperation extends Enum<RoleDDLDesc.RoleOperation>
Enum Constant and Description |
---|
CREATE_ROLE |
DROP_ROLE |
SET_ROLE |
SHOW_CURRENT_ROLE |
SHOW_ROLE_GRANT |
SHOW_ROLE_PRINCIPALS |
SHOW_ROLES |
Modifier and Type | Method and Description |
---|---|
String |
getOperationName() |
String |
toString() |
static RoleDDLDesc.RoleOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleDDLDesc.RoleOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleDDLDesc.RoleOperation DROP_ROLE
public static final RoleDDLDesc.RoleOperation CREATE_ROLE
public static final RoleDDLDesc.RoleOperation SHOW_ROLE_GRANT
public static final RoleDDLDesc.RoleOperation SHOW_ROLES
public static final RoleDDLDesc.RoleOperation SET_ROLE
public static final RoleDDLDesc.RoleOperation SHOW_CURRENT_ROLE
public static final RoleDDLDesc.RoleOperation SHOW_ROLE_PRINCIPALS
public static RoleDDLDesc.RoleOperation[] values()
for (RoleDDLDesc.RoleOperation c : RoleDDLDesc.RoleOperation.values()) System.out.println(c);
public static RoleDDLDesc.RoleOperation 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 nullpublic String getOperationName()
public String toString()
toString
in class Enum<RoleDDLDesc.RoleOperation>
Copyright © 2017 The Apache Software Foundation. All rights reserved.