public class RevokeDesc extends DDLDesc implements Serializable, Cloneable
Constructor and Description |
---|
RevokeDesc() |
RevokeDesc(List<PrivilegeDesc> privileges,
List<PrincipalDesc> principals,
PrivilegeObjectDesc privilegeSubjectDesc) |
RevokeDesc(List<PrivilegeDesc> privileges,
List<PrincipalDesc> principals,
PrivilegeObjectDesc privilegeSubjectDesc,
boolean grantOption) |
Modifier and Type | Method and Description |
---|---|
List<PrincipalDesc> |
getPrincipals() |
List<PrivilegeDesc> |
getPrivileges() |
PrivilegeObjectDesc |
getPrivilegeSubjectDesc() |
boolean |
isGrantOption() |
void |
setGrantOption(boolean grantOption) |
void |
setPrincipals(List<PrincipalDesc> principals) |
void |
setPrivileges(List<PrivilegeDesc> privileges) |
void |
setPrivilegeSubjectDesc(PrivilegeObjectDesc privilegeSubjectDesc) |
public RevokeDesc()
public RevokeDesc(List<PrivilegeDesc> privileges, List<PrincipalDesc> principals, PrivilegeObjectDesc privilegeSubjectDesc)
public RevokeDesc(List<PrivilegeDesc> privileges, List<PrincipalDesc> principals, PrivilegeObjectDesc privilegeSubjectDesc, boolean grantOption)
public List<PrivilegeDesc> getPrivileges()
public void setPrivileges(List<PrivilegeDesc> privileges)
public List<PrincipalDesc> getPrincipals()
public void setPrincipals(List<PrincipalDesc> principals)
public PrivilegeObjectDesc getPrivilegeSubjectDesc()
public void setPrivilegeSubjectDesc(PrivilegeObjectDesc privilegeSubjectDesc)
public boolean isGrantOption()
public void setGrantOption(boolean grantOption)
Copyright © 2017 The Apache Software Foundation. All rights reserved.