public class MPartitionPrivilege extends Object
Constructor and Description |
---|
MPartitionPrivilege() |
MPartitionPrivilege(String principalName,
String principalType,
MPartition partition,
String privilege,
int createTime,
String grantor,
String grantorType,
boolean grantOption) |
Modifier and Type | Method and Description |
---|---|
int |
getCreateTime() |
boolean |
getGrantOption() |
String |
getGrantor() |
String |
getGrantorType() |
MPartition |
getPartition() |
String |
getPrincipalName() |
String |
getPrincipalType() |
String |
getPrivilege() |
void |
setCreateTime(int createTime) |
void |
setGrantOption(boolean grantOption) |
void |
setGrantor(String grantor) |
void |
setGrantorType(String grantorType) |
void |
setPartition(MPartition partition) |
void |
setPrincipalName(String principalName) |
void |
setPrincipalType(String principalType) |
void |
setPrivilege(String dbPrivilege) |
public String getPrincipalName()
public void setPrincipalName(String principalName)
public String getPrivilege()
public void setPrivilege(String dbPrivilege)
dbPrivilege
- a set of privileges this user/role/group haspublic int getCreateTime()
public void setCreateTime(int createTime)
createTime
- create timepublic String getGrantor()
public void setGrantor(String grantor)
grantor
- public String getPrincipalType()
public void setPrincipalType(String principalType)
public MPartition getPartition()
public void setPartition(MPartition partition)
public boolean getGrantOption()
public void setGrantOption(boolean grantOption)
public String getGrantorType()
public void setGrantorType(String grantorType)
Copyright © 2017 The Apache Software Foundation. All rights reserved.