org.apache.hadoop.hive.ql.security.authorization.plugin
Class HivePrivilegeInfo

java.lang.Object
  extended by 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


Constructor Summary
HivePrivilegeInfo(HivePrincipal principal, HivePrivilege privilege, HivePrivilegeObject object, HivePrincipal grantorPrincipal, boolean grantOption, int grantTime)
           
 
Method Summary
 HivePrincipal getGrantorPrincipal()
           
 int getGrantTime()
           
 HivePrivilegeObject getObject()
           
 HivePrincipal getPrincipal()
           
 HivePrivilege getPrivilege()
           
 boolean isGrantOption()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HivePrivilegeInfo

public HivePrivilegeInfo(HivePrincipal principal,
                         HivePrivilege privilege,
                         HivePrivilegeObject object,
                         HivePrincipal grantorPrincipal,
                         boolean grantOption,
                         int grantTime)
Method Detail

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.