org.apache.hadoop.hive.ql.security.authorization.plugin
Class HivePrincipal
java.lang.Object
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
HivePrincipal
public HivePrincipal(String name,
HivePrincipal.HivePrincipalType type)
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.