org.apache.hadoop.hive.ql.security.authorization
Class Privilege
java.lang.Object
org.apache.hadoop.hive.ql.security.authorization.Privilege
public class Privilege
- extends Object
Privilege defines a privilege in Hive. Each privilege has a name and scope associated with it.
This class contains all of the predefined privileges in Hive.
ALL
public static Privilege ALL
ALTER_METADATA
public static Privilege ALTER_METADATA
ALTER_DATA
public static Privilege ALTER_DATA
CREATE
public static Privilege CREATE
DROP
public static Privilege DROP
INDEX
public static Privilege INDEX
LOCK
public static Privilege LOCK
SELECT
public static Privilege SELECT
INSERT
public static Privilege INSERT
DELETE
public static Privilege DELETE
SHOW_DATABASE
public static Privilege SHOW_DATABASE
Privilege
public Privilege(PrivilegeType priv)
Privilege
public Privilege()
getPriv
public PrivilegeType getPriv()
setPriv
public void setPriv(PrivilegeType priv)
supportColumnLevel
public boolean supportColumnLevel()
supportDBLevel
public boolean supportDBLevel()
supportTableLevel
public boolean supportTableLevel()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 The Apache Software Foundation. All rights reserved.