public static enum HivePrivilegeObject.HivePrivilegeObjectType extends Enum<HivePrivilegeObject.HivePrivilegeObjectType>
Enum Constant and Description |
---|
COLUMN |
COMMAND_PARAMS |
DATABASE |
DFS_URI |
FUNCTION |
GLOBAL |
LOCAL_URI |
PARTITION |
TABLE_OR_VIEW |
Modifier and Type | Method and Description |
---|---|
static HivePrivilegeObject.HivePrivilegeObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HivePrivilegeObject.HivePrivilegeObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HivePrivilegeObject.HivePrivilegeObjectType GLOBAL
public static final HivePrivilegeObject.HivePrivilegeObjectType DATABASE
public static final HivePrivilegeObject.HivePrivilegeObjectType TABLE_OR_VIEW
public static final HivePrivilegeObject.HivePrivilegeObjectType PARTITION
public static final HivePrivilegeObject.HivePrivilegeObjectType COLUMN
public static final HivePrivilegeObject.HivePrivilegeObjectType LOCAL_URI
public static final HivePrivilegeObject.HivePrivilegeObjectType DFS_URI
public static final HivePrivilegeObject.HivePrivilegeObjectType COMMAND_PARAMS
public static final HivePrivilegeObject.HivePrivilegeObjectType FUNCTION
public static HivePrivilegeObject.HivePrivilegeObjectType[] values()
for (HivePrivilegeObject.HivePrivilegeObjectType c : HivePrivilegeObject.HivePrivilegeObjectType.values()) System.out.println(c);
public static HivePrivilegeObject.HivePrivilegeObjectType 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 © 2017 The Apache Software Foundation. All rights reserved.