org.apache.hadoop.hive.ql.security.authorization.plugin
Class HivePrincipal

java.lang.Object
  extended by org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrincipal

@InterfaceAudience.LimitedPrivate(value="")
@InterfaceStability.Evolving
public class HivePrincipal
extends Object

Represents the user or role in grant/revoke statements


Nested Class Summary
static class HivePrincipal.HivePrincipalType
           
 
Constructor Summary
HivePrincipal(String name, HivePrincipal.HivePrincipalType type)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 HivePrincipal.HivePrincipalType getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HivePrincipal

public HivePrincipal(String name,
                     HivePrincipal.HivePrincipalType type)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()

getType

public HivePrincipal.HivePrincipalType getType()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2014 The Apache Software Foundation. All rights reserved.