org.apache.hadoop.hive.ql.security.authorization.plugin
Class HivePrivilegeInfo
java.lang.Object
org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeInfo
@InterfaceAudience.LimitedPrivate(value="")
@InterfaceStability.Evolving
public class HivePrivilegeInfo
- extends Object
Represents a privilege granted for an object to a principal
HivePrivilegeInfo
public HivePrivilegeInfo(HivePrincipal principal,
HivePrivilege privilege,
HivePrivilegeObject object,
HivePrincipal grantorPrincipal,
boolean grantOption,
int grantTime)
getPrincipal
public HivePrincipal getPrincipal()
getPrivilege
public HivePrivilege getPrivilege()
getObject
public HivePrivilegeObject getObject()
getGrantorPrincipal
public HivePrincipal getGrantorPrincipal()
isGrantOption
public boolean isGrantOption()
getGrantTime
public int getGrantTime()
Copyright © 2014 The Apache Software Foundation. All rights reserved.