| Package | Description |
|---|---|
| io.prestosql.plugin.hive.metastore | |
| io.prestosql.plugin.hive.metastore.file | |
| io.prestosql.plugin.hive.metastore.glue | |
| io.prestosql.plugin.hive.metastore.thrift |
| Modifier and Type | Method and Description |
|---|---|
static HivePrincipal |
HivePrincipal.from(PrestoPrincipal prestoPrincipal) |
HivePrincipal |
HivePrivilegeInfo.getGrantee() |
HivePrincipal |
HivePrivilegeInfo.getGrantor() |
HivePrincipal |
UserTableKey.getPrincipal() |
| Modifier and Type | Method and Description |
|---|---|
static Set<HivePrincipal> |
HivePrincipal.from(Set<PrestoPrincipal> prestoPrincipals) |
List<RecordingHiveMetastore.Pair<HivePrincipal,Set<RoleGrant>>> |
RecordingHiveMetastore.Recording.getRoleGrants() |
| Modifier and Type | Method and Description |
|---|---|
void |
RecordingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
CachingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
HiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
RecordingHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
CachingHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
HiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
SemiTransactionalHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
Set<RoleGrant> |
RecordingHiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<RoleGrant> |
CachingHiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<RoleGrant> |
HiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<RoleGrant> |
SemiTransactionalHiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<HivePrivilegeInfo> |
RecordingHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
Set<HivePrivilegeInfo> |
CachingHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
Set<HivePrivilegeInfo> |
HiveMetastore.listTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
Set<HivePrivilegeInfo> |
SemiTransactionalHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
Set<HivePrivilegeInfo> |
CachingHiveMetastore.loadTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
void |
RecordingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
CachingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
HiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
RecordingHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
CachingHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
HiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
SemiTransactionalHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
| Modifier and Type | Method and Description |
|---|---|
void |
RecordingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
CachingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
HiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
RecordingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
CachingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
HiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
| Constructor and Description |
|---|
HivePrivilegeInfo(HivePrivilegeInfo.HivePrivilege hivePrivilege,
boolean grantOption,
HivePrincipal grantor,
HivePrincipal grantee) |
UserTableKey(HivePrincipal principal,
String database,
String table) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
FileHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
Set<RoleGrant> |
FileHiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<HivePrivilegeInfo> |
FileHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
void |
FileHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
FileHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
FileHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
| Modifier and Type | Method and Description |
|---|---|
void |
GlueHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
GlueHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
Set<RoleGrant> |
GlueHiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<HivePrivilegeInfo> |
GlueHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
void |
GlueHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
GlueHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
| Modifier and Type | Method and Description |
|---|---|
void |
GlueHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
GlueHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
| Modifier and Type | Method and Description |
|---|---|
static Stream<HivePrincipal> |
ThriftMetastoreUtil.listEnabledPrincipals(SemiTransactionalHiveMetastore metastore,
ConnectorIdentity identity) |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
BridgingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
ThriftMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
ThriftHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
BridgingHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
ThriftMetastore.grantTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
static boolean |
ThriftMetastoreUtil.isRoleApplicable(SemiTransactionalHiveMetastore metastore,
HivePrincipal principal,
String role) |
static Stream<RoleGrant> |
ThriftMetastoreUtil.listApplicableRoles(HivePrincipal principal,
Function<HivePrincipal,Set<RoleGrant>> listRoleGrants) |
static Stream<String> |
ThriftMetastoreUtil.listApplicableRoles(SemiTransactionalHiveMetastore metastore,
HivePrincipal principal) |
Set<RoleGrant> |
ThriftHiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<RoleGrant> |
BridgingHiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<RoleGrant> |
ThriftMetastore.listRoleGrants(HivePrincipal principal) |
Set<HivePrivilegeInfo> |
ThriftHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
Set<HivePrivilegeInfo> |
BridgingHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
Set<HivePrivilegeInfo> |
ThriftMetastore.listTablePrivileges(String databaseName,
String tableName,
HivePrincipal principal) |
void |
ThriftHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
BridgingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
ThriftMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
ThriftHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
BridgingHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
ThriftMetastore.revokeTablePrivileges(String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
BridgingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
ThriftMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
static boolean |
ThriftMetastoreUtil.isRoleEnabled(ConnectorIdentity identity,
Function<HivePrincipal,Set<RoleGrant>> listRoleGrants,
String role) |
static Stream<RoleGrant> |
ThriftMetastoreUtil.listApplicableRoles(HivePrincipal principal,
Function<HivePrincipal,Set<RoleGrant>> listRoleGrants) |
static Stream<String> |
ThriftMetastoreUtil.listEnabledRoles(ConnectorIdentity identity,
Function<HivePrincipal,Set<RoleGrant>> listRoleGrants) |
static Set<HivePrivilegeInfo> |
ThriftMetastoreUtil.parsePrivilege(org.apache.hadoop.hive.metastore.api.PrivilegeGrantInfo userGrant,
Optional<HivePrincipal> grantee) |
void |
ThriftHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
BridgingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
ThriftMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
Copyright © 2012–2019. All rights reserved.