@InterfaceAudience.LimitedPrivate(value="Apache Argus (incubating)") @InterfaceStability.Evolving public class HiveRoleGrant extends Object implements Comparable<HiveRoleGrant>
Constructor and Description |
---|
HiveRoleGrant() |
HiveRoleGrant(RolePrincipalGrant thriftRoleGrant) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HiveRoleGrant other) |
String |
getGrantor() |
String |
getGrantorType() |
int |
getGrantTime() |
String |
getPrincipalName() |
String |
getPrincipalType() |
String |
getRoleName() |
boolean |
isGrantOption() |
void |
setGrantOption(boolean grantOption) |
void |
setGrantor(String grantor) |
void |
setGrantorType(String grantorType) |
void |
setGrantTime(int grantTime) |
void |
setPrincipalName(String principalName) |
void |
setPrincipalType(String principalType) |
void |
setRoleName(String roleName) |
String |
toString() |
public HiveRoleGrant()
public HiveRoleGrant(RolePrincipalGrant thriftRoleGrant)
public String getRoleName()
public void setRoleName(String roleName)
public String getPrincipalName()
public void setPrincipalName(String principalName)
public String getPrincipalType()
public void setPrincipalType(String principalType)
public boolean isGrantOption()
public void setGrantOption(boolean grantOption)
public int getGrantTime()
public void setGrantTime(int grantTime)
public String getGrantor()
public void setGrantor(String grantor)
public String getGrantorType()
public void setGrantorType(String grantorType)
public int compareTo(HiveRoleGrant other)
compareTo
in interface Comparable<HiveRoleGrant>
Copyright © 2017 The Apache Software Foundation. All rights reserved.