public class GrantRevokeRoleDDL extends Object
| Constructor and Description |
|---|
GrantRevokeRoleDDL() |
GrantRevokeRoleDDL(boolean grant,
List<String> roles,
List<PrincipalDesc> principalDesc,
String grantor,
org.apache.hadoop.hive.metastore.api.PrincipalType grantorType,
boolean grantOption) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getGrant() |
String |
getGrantor() |
org.apache.hadoop.hive.metastore.api.PrincipalType |
getGrantorType() |
List<PrincipalDesc> |
getPrincipalDesc() |
List<String> |
getRoles() |
boolean |
isGrantOption() |
void |
setGrant(boolean grant) |
void |
setGrantOption(boolean grantOption) |
void |
setGrantor(String grantor) |
void |
setGrantorType(org.apache.hadoop.hive.metastore.api.PrincipalType grantorType) |
void |
setPrincipalDesc(List<PrincipalDesc> principalDesc) |
void |
setRoles(List<String> roles) |
public GrantRevokeRoleDDL()
public GrantRevokeRoleDDL(boolean grant,
List<String> roles,
List<PrincipalDesc> principalDesc,
String grantor,
org.apache.hadoop.hive.metastore.api.PrincipalType grantorType,
boolean grantOption)
public boolean getGrant()
public void setGrant(boolean grant)
public List<PrincipalDesc> getPrincipalDesc()
public void setPrincipalDesc(List<PrincipalDesc> principalDesc)
public String getGrantor()
public void setGrantor(String grantor)
public org.apache.hadoop.hive.metastore.api.PrincipalType getGrantorType()
public void setGrantorType(org.apache.hadoop.hive.metastore.api.PrincipalType grantorType)
public boolean isGrantOption()
public void setGrantOption(boolean grantOption)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.