| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore | |
| org.apache.hadoop.hive.metastore.api | |
| org.apache.hadoop.hive.ql.security.authorization | |
| org.apache.hadoop.hive.ql.session |
| Modifier and Type | Method and Description |
|---|---|
List<PrivilegeGrantInfo> |
ObjectStore.getDBPrivilege(String dbName,
String principalName,
PrincipalType principalType) |
| Modifier and Type | Method and Description |
|---|---|
PrivilegeGrantInfo |
PrivilegeGrantInfo.deepCopy() |
PrivilegeGrantInfo |
HiveObjectPrivilege.getGrantInfo() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<PrivilegeGrantInfo>> |
PrincipalPrivilegeSet.getGroupPrivileges() |
Map<String,List<PrivilegeGrantInfo>> |
PrincipalPrivilegeSet.getRolePrivileges() |
Map<String,List<PrivilegeGrantInfo>> |
PrincipalPrivilegeSet.getUserPrivileges() |
| Modifier and Type | Method and Description |
|---|---|
int |
PrivilegeGrantInfo.compareTo(PrivilegeGrantInfo other) |
boolean |
PrivilegeGrantInfo.equals(PrivilegeGrantInfo that) |
void |
HiveObjectPrivilege.setGrantInfo(PrivilegeGrantInfo grantInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
PrincipalPrivilegeSet.putToGroupPrivileges(String key,
List<PrivilegeGrantInfo> val) |
void |
PrincipalPrivilegeSet.putToRolePrivileges(String key,
List<PrivilegeGrantInfo> val) |
void |
PrincipalPrivilegeSet.putToUserPrivileges(String key,
List<PrivilegeGrantInfo> val) |
void |
PrincipalPrivilegeSet.setGroupPrivileges(Map<String,List<PrivilegeGrantInfo>> groupPrivileges) |
void |
PrincipalPrivilegeSet.setRolePrivileges(Map<String,List<PrivilegeGrantInfo>> rolePrivileges) |
void |
PrincipalPrivilegeSet.setUserPrivileges(Map<String,List<PrivilegeGrantInfo>> userPrivileges) |
| Constructor and Description |
|---|
HiveObjectPrivilege(HiveObjectRef hiveObject,
String principalName,
PrincipalType principalType,
PrivilegeGrantInfo grantInfo) |
PrivilegeGrantInfo(PrivilegeGrantInfo other)
Performs a deep copy on other.
|
| Constructor and Description |
|---|
PrincipalPrivilegeSet(Map<String,List<PrivilegeGrantInfo>> userPrivileges,
Map<String,List<PrivilegeGrantInfo>> groupPrivileges,
Map<String,List<PrivilegeGrantInfo>> rolePrivileges) |
PrincipalPrivilegeSet(Map<String,List<PrivilegeGrantInfo>> userPrivileges,
Map<String,List<PrivilegeGrantInfo>> groupPrivileges,
Map<String,List<PrivilegeGrantInfo>> rolePrivileges) |
PrincipalPrivilegeSet(Map<String,List<PrivilegeGrantInfo>> userPrivileges,
Map<String,List<PrivilegeGrantInfo>> groupPrivileges,
Map<String,List<PrivilegeGrantInfo>> rolePrivileges) |
| Modifier and Type | Method and Description |
|---|---|
static PrivilegeGrantInfo |
AuthorizationUtils.getThriftPrivilegeGrantInfo(HivePrivilege privilege,
HivePrincipal grantorPrincipal,
boolean grantOption,
int grantTime)
Get thrift privilege grant info
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<PrivilegeGrantInfo>> |
CreateTableAutomaticGrant.getGroupGrants() |
Map<String,List<PrivilegeGrantInfo>> |
CreateTableAutomaticGrant.getRoleGrants() |
Map<String,List<PrivilegeGrantInfo>> |
CreateTableAutomaticGrant.getUserGrants() |
Copyright © 2017 The Apache Software Foundation. All rights reserved.