public class MGlobalPrivilege extends Object
Constructor and Description |
---|
MGlobalPrivilege() |
MGlobalPrivilege(String userName,
String principalType,
String dbPrivilege,
int createTime,
String grantor,
String grantorType,
boolean grantOption) |
Modifier and Type | Method and Description |
---|---|
int |
getCreateTime() |
boolean |
getGrantOption() |
String |
getGrantor() |
String |
getGrantorType() |
String |
getPrincipalName() |
String |
getPrincipalType() |
String |
getPrivilege() |
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 dbPrivilege) |
public String getPrivilege()
public void setPrivilege(String dbPrivilege)
dbPrivilege
- set of global privileges to userpublic String getPrincipalName()
public void setPrincipalName(String principalName)
public int getCreateTime()
public void setCreateTime(int createTime)
public String getGrantor()
public void setGrantor(String grantor)
public boolean getGrantOption()
public void setGrantOption(boolean grantOption)
public String getPrincipalType()
public void setPrincipalType(String principalType)
public String getGrantorType()
public void setGrantorType(String grantorType)
Copyright © 2017 The Apache Software Foundation. All rights reserved.