public static enum HiveResourceACLs.Privilege extends Enum<HiveResourceACLs.Privilege>
Enum Constant and Description |
---|
ALTER |
CREATE |
DROP |
INDEX |
LOCK |
READ |
SELECT |
UPDATE |
WRITE |
Modifier and Type | Method and Description |
---|---|
static HiveResourceACLs.Privilege |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveResourceACLs.Privilege[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveResourceACLs.Privilege SELECT
public static final HiveResourceACLs.Privilege UPDATE
public static final HiveResourceACLs.Privilege CREATE
public static final HiveResourceACLs.Privilege DROP
public static final HiveResourceACLs.Privilege ALTER
public static final HiveResourceACLs.Privilege INDEX
public static final HiveResourceACLs.Privilege LOCK
public static final HiveResourceACLs.Privilege READ
public static final HiveResourceACLs.Privilege WRITE
public static HiveResourceACLs.Privilege[] values()
for (HiveResourceACLs.Privilege c : HiveResourceACLs.Privilege.values()) System.out.println(c);
public static HiveResourceACLs.Privilege 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 © 2022 The Apache Software Foundation. All rights reserved.