public class HivePrivilegeInfo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HivePrivilegeInfo.HivePrivilege |
| Constructor and Description |
|---|
HivePrivilegeInfo(HivePrivilegeInfo.HivePrivilege hivePrivilege,
boolean grantOption) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
HivePrivilegeInfo.HivePrivilege |
getHivePrivilege() |
int |
hashCode() |
boolean |
isContainedIn(HivePrivilegeInfo hivePrivilegeInfo) |
boolean |
isGrantOption() |
static Set<HivePrivilegeInfo> |
parsePrivilege(org.apache.hadoop.hive.metastore.api.PrivilegeGrantInfo userGrant) |
static HivePrivilegeInfo.HivePrivilege |
toHivePrivilege(Privilege privilege) |
Set<PrivilegeInfo> |
toPrivilegeInfo() |
String |
toString() |
HivePrivilegeInfo |
withGrantOption(boolean grantOption) |
public HivePrivilegeInfo(HivePrivilegeInfo.HivePrivilege hivePrivilege, boolean grantOption)
public HivePrivilegeInfo.HivePrivilege getHivePrivilege()
public boolean isGrantOption()
public HivePrivilegeInfo withGrantOption(boolean grantOption)
public static Set<HivePrivilegeInfo> parsePrivilege(org.apache.hadoop.hive.metastore.api.PrivilegeGrantInfo userGrant)
public static HivePrivilegeInfo.HivePrivilege toHivePrivilege(Privilege privilege)
public boolean isContainedIn(HivePrivilegeInfo hivePrivilegeInfo)
public Set<PrivilegeInfo> toPrivilegeInfo()
Copyright © 2012-2017. All Rights Reserved.