public static enum HivePrivilegeInfo.HivePrivilege extends Enum<HivePrivilegeInfo.HivePrivilege>
| Enum Constant and Description |
|---|
DELETE |
INSERT |
OWNERSHIP |
SELECT |
UPDATE |
| Modifier and Type | Method and Description |
|---|---|
static HivePrivilegeInfo.HivePrivilege |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HivePrivilegeInfo.HivePrivilege[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HivePrivilegeInfo.HivePrivilege SELECT
public static final HivePrivilegeInfo.HivePrivilege INSERT
public static final HivePrivilegeInfo.HivePrivilege UPDATE
public static final HivePrivilegeInfo.HivePrivilege DELETE
public static final HivePrivilegeInfo.HivePrivilege OWNERSHIP
public static HivePrivilegeInfo.HivePrivilege[] values()
for (HivePrivilegeInfo.HivePrivilege c : HivePrivilegeInfo.HivePrivilege.values()) System.out.println(c);
public static HivePrivilegeInfo.HivePrivilege 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 © 2012–2019. All rights reserved.