org.apache.hadoop.hive.ql.plan
Class RoleDDLDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.DDLDesc
org.apache.hadoop.hive.ql.plan.RoleDDLDesc
- All Implemented Interfaces:
- Serializable
public class RoleDDLDesc
- extends DDLDesc
- implements Serializable
- See Also:
- Serialized Form
RoleDDLDesc
public RoleDDLDesc()
RoleDDLDesc
public RoleDDLDesc(String roleName,
RoleDDLDesc.RoleOperation operation)
RoleDDLDesc
public RoleDDLDesc(String principalName,
org.apache.hadoop.hive.metastore.api.PrincipalType principalType,
RoleDDLDesc.RoleOperation operation,
String roleOwnerName)
getRoleNameSchema
public static String getRoleNameSchema()
getRoleShowGrantSchema
public static String getRoleShowGrantSchema()
getShowRolePrincipalsSchema
public static String getShowRolePrincipalsSchema()
getName
public String getName()
getOperation
public RoleDDLDesc.RoleOperation getOperation()
setOperation
public void setOperation(RoleDDLDesc.RoleOperation operation)
getPrincipalType
public org.apache.hadoop.hive.metastore.api.PrincipalType getPrincipalType()
setPrincipalType
public void setPrincipalType(org.apache.hadoop.hive.metastore.api.PrincipalType principalType)
getGroup
public boolean getGroup()
setGroup
public void setGroup(boolean group)
getResFile
public String getResFile()
setResFile
public void setResFile(String resFile)
getRoleOwnerName
public String getRoleOwnerName()
setRoleOwnerName
public void setRoleOwnerName(String roleOwnerName)
Copyright © 2014 The Apache Software Foundation. All rights reserved.