org.apache.hadoop.hive.metastore.model
Class MPartitionPrivilege
java.lang.Object
org.apache.hadoop.hive.metastore.model.MPartitionPrivilege
public class MPartitionPrivilege
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MPartitionPrivilege
public MPartitionPrivilege()
MPartitionPrivilege
public MPartitionPrivilege(String principalName,
String principalType,
MPartition partition,
String privilege,
int createTime,
String grantor,
String grantorType,
boolean grantOption)
getPrincipalName
public String getPrincipalName()
setPrincipalName
public void setPrincipalName(String principalName)
getPrivilege
public String getPrivilege()
- Returns:
- a set of privileges this user/role/group has
setPrivilege
public void setPrivilege(String dbPrivilege)
- Parameters:
dbPrivilege
- a set of privileges this user/role/group has
getCreateTime
public int getCreateTime()
- Returns:
- create time
setCreateTime
public void setCreateTime(int createTime)
- Parameters:
createTime
- create time
getGrantor
public String getGrantor()
- Returns:
- the grantor
setGrantor
public void setGrantor(String grantor)
- Parameters:
grantor
-
getPrincipalType
public String getPrincipalType()
setPrincipalType
public void setPrincipalType(String principalType)
getPartition
public MPartition getPartition()
setPartition
public void setPartition(MPartition partition)
getGrantOption
public boolean getGrantOption()
setGrantOption
public void setGrantOption(boolean grantOption)
getGrantorType
public String getGrantorType()
setGrantorType
public void setGrantorType(String grantorType)
Copyright © 2012 The Apache Software Foundation