public class GrantDesc extends Object implements DDLDesc, Serializable, Cloneable
DDLDesc.DDLDescWithWriteId| Constructor and Description |
|---|
GrantDesc(PrivilegeObjectDesc privilegeSubject,
List<PrivilegeDesc> privileges,
List<PrincipalDesc> principals,
String grantor,
org.apache.hadoop.hive.metastore.api.PrincipalType grantorType,
boolean grantOption) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGrantor() |
org.apache.hadoop.hive.metastore.api.PrincipalType |
getGrantorType() |
List<PrincipalDesc> |
getPrincipals() |
List<PrivilegeDesc> |
getPrivileges() |
PrivilegeObjectDesc |
getPrivilegeSubject() |
boolean |
isGrantOption() |
public GrantDesc(PrivilegeObjectDesc privilegeSubject, List<PrivilegeDesc> privileges, List<PrincipalDesc> principals, String grantor, org.apache.hadoop.hive.metastore.api.PrincipalType grantorType, boolean grantOption)
public PrivilegeObjectDesc getPrivilegeSubject()
public List<PrivilegeDesc> getPrivileges()
public List<PrincipalDesc> getPrincipals()
public String getGrantor()
public org.apache.hadoop.hive.metastore.api.PrincipalType getGrantorType()
public boolean isGrantOption()
Copyright © 2024 The Apache Software Foundation. All rights reserved.