org.apache.hadoop.hive.ql.plan
Class RoleDDLDesc

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.DDLDesc
      extended by org.apache.hadoop.hive.ql.plan.RoleDDLDesc
All Implemented Interfaces:
Serializable

public class RoleDDLDesc
extends DDLDesc
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class RoleDDLDesc.RoleOperation
           
 
Constructor Summary
RoleDDLDesc()
           
RoleDDLDesc(String principalName, org.apache.hadoop.hive.metastore.api.PrincipalType principalType, RoleDDLDesc.RoleOperation operation, String roleOwnerName)
           
RoleDDLDesc(String roleName, RoleDDLDesc.RoleOperation operation)
           
 
Method Summary
 boolean getGroup()
           
 String getName()
           
 RoleDDLDesc.RoleOperation getOperation()
           
 org.apache.hadoop.hive.metastore.api.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(org.apache.hadoop.hive.metastore.api.PrincipalType principalType)
           
 void setResFile(String resFile)
           
 void setRoleOwnerName(String roleOwnerName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.