|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.hive.ql.security.authorization.AuthorizationUtils
@InterfaceAudience.LimitedPrivate(value="Sql standard authorization plugin") public class AuthorizationUtils
Utility code shared by hive internal code and sql standard authorization plugin implementation
Constructor Summary | |
---|---|
AuthorizationUtils()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthorizationUtils()
Method Detail |
---|
public static HivePrincipal.HivePrincipalType getHivePrincipalType(org.apache.hadoop.hive.metastore.api.PrincipalType type) throws HiveException
type
- - thrift principal type
HiveException
public static HivePrivilegeObject.HivePrivilegeObjectType getHivePrivilegeObjectType(Entity.Type type)
type
- - thrift object type
public static org.apache.hadoop.hive.metastore.api.PrincipalType getThriftPrincipalType(HivePrincipal.HivePrincipalType type)
type
-
HiveException
public static org.apache.hadoop.hive.metastore.api.PrivilegeGrantInfo getThriftPrivilegeGrantInfo(HivePrivilege privilege, HivePrincipal grantorPrincipal, boolean grantOption, int grantTime) throws HiveException
privilege
- grantorPrincipal
- grantOption
- grantTime
-
HiveException
public static org.apache.hadoop.hive.metastore.api.HiveObjectType getThriftHiveObjType(HivePrivilegeObject.HivePrivilegeObjectType type) throws HiveException
type
-
HiveException
public static org.apache.hadoop.hive.metastore.api.HiveObjectRef getThriftHiveObjectRef(HivePrivilegeObject privObj) throws HiveException
privObj
-
HiveException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |