public class MTableColumnPrivilege extends Object
Constructor and Description |
---|
MTableColumnPrivilege() |
MTableColumnPrivilege(String principalName,
String principalType,
MTable table,
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() |
String |
getPrincipalName() |
String |
getPrincipalType() |
String |
getPrivilege() |
MTable |
getTable() |
void |
setColumnName(String columnName) |
void |
setCreateTime(int createTime) |
void |
setGrantOption(boolean grantOption) |
void |
setGrantor(String grantor) |
void |
setGrantorType(String grantorType) |
void |
setPrincipalName(String principalName) |
void |
setPrincipalType(String principalType) |
void |
setPrivilege(String dbPrivileges) |
void |
setTable(MTable table) |
public MTableColumnPrivilege()
public MTableColumnPrivilege(String principalName, String principalType, MTable table, String columnName, String privileges, int createTime, String grantor, String grantorType, boolean grantOption)
principalName
- principalType
- table
- 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 MTable getTable()
public void setTable(MTable table)
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.