public enum SQLPrivilegeType extends Enum<SQLPrivilegeType>
| Modifier and Type | Method and Description |
|---|---|
static SQLPrivilegeType |
getRequirePrivilege(String priv) |
static SQLPrivilegeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLPrivilegeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLPrivilegeType SELECT
public static final SQLPrivilegeType INSERT
public static final SQLPrivilegeType UPDATE
public static final SQLPrivilegeType DELETE
public static SQLPrivilegeType[] values()
for (SQLPrivilegeType c : SQLPrivilegeType.values()) System.out.println(c);
public static SQLPrivilegeType 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 static SQLPrivilegeType getRequirePrivilege(String priv) throws HiveAuthzPluginException
HiveAuthzPluginExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.