public class MDCPrivilege extends Object
Constructor and Description |
---|
MDCPrivilege() |
MDCPrivilege(String principalName,
String principalType,
MDataConnector dataConnector,
String dcPrivileges,
int createTime,
String grantor,
String grantorType,
boolean grantOption,
String authorizer) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorizer() |
int |
getCreateTime() |
MDataConnector |
getDataConnector() |
boolean |
getGrantOption() |
String |
getGrantor() |
String |
getGrantorType() |
String |
getPrincipalName() |
String |
getPrincipalType() |
String |
getPrivilege() |
void |
setAuthorizer(String authorizer) |
void |
setCreateTime(int createTime) |
void |
setDataConnector(MDataConnector dataConnector) |
void |
setGrantOption(boolean grantOption) |
void |
setGrantor(String grantor) |
void |
setGrantorType(String grantorType) |
void |
setPrincipalName(String userName) |
void |
setPrincipalType(String principalType) |
void |
setPrivilege(String dcPrivilege) |
public String getPrincipalName()
public void setPrincipalName(String userName)
userName
- user/role/group namepublic String getPrivilege()
public void setPrivilege(String dcPrivilege)
dcPrivilege
- a set of privileges this user/role/group haspublic MDataConnector getDataConnector()
public void setDataConnector(MDataConnector dataConnector)
public int getCreateTime()
public void setCreateTime(int createTime)
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)
public String getAuthorizer()
public void setAuthorizer(String authorizer)
Copyright © 2022 The Apache Software Foundation. All rights reserved.