@Immutable public class HivePrincipal extends Object
| Constructor and Description |
|---|
HivePrincipal(String principalName,
org.apache.hadoop.hive.metastore.api.PrincipalType principalType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getPrincipalName() |
org.apache.hadoop.hive.metastore.api.PrincipalType |
getPrincipalType() |
int |
hashCode() |
static HivePrincipal |
toHivePrincipal(String grantee) |
String |
toString() |
public HivePrincipal(String principalName, org.apache.hadoop.hive.metastore.api.PrincipalType principalType)
public static HivePrincipal toHivePrincipal(String grantee) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String getPrincipalName()
public org.apache.hadoop.hive.metastore.api.PrincipalType getPrincipalType()
Copyright © 2012-2017. All Rights Reserved.