public class RoleDDLDesc extends DDLDesc implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
RoleDDLDesc.RoleOperation |
Constructor and Description |
---|
RoleDDLDesc() |
RoleDDLDesc(String principalName,
PrincipalType principalType,
RoleDDLDesc.RoleOperation operation,
String roleOwnerName) |
RoleDDLDesc(String roleName,
RoleDDLDesc.RoleOperation operation) |
Modifier and Type | Method and Description |
---|---|
boolean |
getGroup() |
String |
getName() |
RoleDDLDesc.RoleOperation |
getOperation() |
PrincipalType |
getPrincipalType() |
String |
getResFile() |
static String |
getRoleNameSchema() |
String |
getRoleOwnerName() |
static String |
getRoleShowGrantSchema() |
static String |
getShowRolePrincipalsSchema() |
void |
setGroup(boolean group) |
void |
setOperation(RoleDDLDesc.RoleOperation operation) |
void |
setPrincipalType(PrincipalType principalType) |
void |
setResFile(String resFile) |
void |
setRoleOwnerName(String roleOwnerName) |
public RoleDDLDesc()
public RoleDDLDesc(String roleName, RoleDDLDesc.RoleOperation operation)
public RoleDDLDesc(String principalName, PrincipalType principalType, RoleDDLDesc.RoleOperation operation, String roleOwnerName)
public static String getRoleNameSchema()
public static String getRoleShowGrantSchema()
public static String getShowRolePrincipalsSchema()
public String getName()
public RoleDDLDesc.RoleOperation getOperation()
public void setOperation(RoleDDLDesc.RoleOperation operation)
public PrincipalType getPrincipalType()
public void setPrincipalType(PrincipalType principalType)
public boolean getGroup()
public void setGroup(boolean group)
public String getResFile()
public void setResFile(String resFile)
public String getRoleOwnerName()
public void setRoleOwnerName(String roleOwnerName)
Copyright © 2017 The Apache Software Foundation. All rights reserved.