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