| Modifier and Type | Method and Description |
|---|---|
void |
HiveMetastoreClosure.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
HiveMetastoreClosure.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
Set<RoleGrant> |
HiveMetastoreClosure.listRoleGrants(HivePrincipal principal) |
void |
HiveMetastoreClosure.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
HiveMetastoreClosure.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
HiveMetastoreClosure.setDatabaseOwner(HiveIdentity identity,
String databaseName,
HivePrincipal principal) |
| Modifier and Type | Method and Description |
|---|---|
void |
HiveMetastoreClosure.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
Set<HivePrivilegeInfo> |
HiveMetastoreClosure.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
void |
HiveMetastoreClosure.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
| Modifier and Type | Method and Description |
|---|---|
static HivePrincipal |
HivePrincipal.from(ConnectorIdentity identity) |
static HivePrincipal |
HivePrincipal.from(PrestoPrincipal prestoPrincipal) |
HivePrincipal |
HivePrivilegeInfo.getGrantee() |
HivePrincipal |
HivePrivilegeInfo.getGrantor() |
| Modifier and Type | Method and Description |
|---|---|
static Set<HivePrincipal> |
HivePrincipal.from(Set<PrestoPrincipal> prestoPrincipals) |
Optional<HivePrincipal> |
UserTableKey.getPrincipal() |
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 adminOption,
HivePrincipal grantor) |
void |
HiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.grantTablePrivileges(HiveIdentity identity,
String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
RecordingHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
HiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
Set<RoleGrant> |
RecordingHiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<RoleGrant> |
HiveMetastore.listRoleGrants(HivePrincipal principal) |
Set<RoleGrant> |
SemiTransactionalHiveMetastore.listRoleGrants(HivePrincipal principal) |
void |
RecordingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
HiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.revokeTablePrivileges(HiveIdentity identity,
String databaseName,
String tableName,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
RecordingHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
HiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
RecordingHiveMetastore.setDatabaseOwner(HiveIdentity identity,
String databaseName,
HivePrincipal principal) |
void |
HiveMetastore.setDatabaseOwner(HiveIdentity identity,
String databaseName,
HivePrincipal principal) |
void |
SemiTransactionalHiveMetastore.setDatabaseOwner(HiveIdentity identity,
String source,
HivePrincipal principal) |
| Modifier and Type | Method and Description |
|---|---|
void |
RecordingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
HiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
Set<HivePrivilegeInfo> |
SemiTransactionalHiveMetastore.listTablePrivileges(HiveIdentity identity,
String databaseName,
String tableName,
Optional<HivePrincipal> principal) |
Set<HivePrivilegeInfo> |
RecordingHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
Set<HivePrivilegeInfo> |
HiveMetastore.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
void |
RecordingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
HiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
SemiTransactionalHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
| Constructor and Description |
|---|
HivePrivilegeInfo(HivePrivilegeInfo.HivePrivilege hivePrivilege,
boolean grantOption,
HivePrincipal grantor,
HivePrincipal grantee) |
| Modifier and Type | Method and Description |
|---|---|
void |
AlluxioHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
void |
AlluxioHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
Set<RoleGrant> |
AlluxioHiveMetastore.listRoleGrants(HivePrincipal principal) |
void |
AlluxioHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
void |
AlluxioHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
AlluxioHiveMetastore.setDatabaseOwner(HiveIdentity identity,
String databaseName,
HivePrincipal principal) |
| Modifier and Type | Method and Description |
|---|---|
void |
AlluxioHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean withAdminOption,
HivePrincipal grantor) |
Set<HivePrivilegeInfo> |
AlluxioHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
void |
AlluxioHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOptionFor,
HivePrincipal grantor) |
| Modifier and Type | Method and Description |
|---|---|
void |
CachingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
CachingHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
Set<RoleGrant> |
CachingHiveMetastore.listRoleGrants(HivePrincipal principal) |
void |
CachingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
CachingHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
CachingHiveMetastore.setDatabaseOwner(HiveIdentity identity,
String databaseName,
HivePrincipal principal) |
| Modifier and Type | Method and Description |
|---|---|
void |
CachingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
Set<HivePrivilegeInfo> |
CachingHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
void |
CachingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
| Modifier and Type | Method and Description |
|---|---|
HivePrincipal |
PermissionMetadata.getGrantee() |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
FileHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
Set<RoleGrant> |
FileHiveMetastore.listRoleGrants(HivePrincipal principal) |
void |
FileHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
FileHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
FileHiveMetastore.setDatabaseOwner(HiveIdentity identity,
String databaseName,
HivePrincipal principal) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
Set<HivePrivilegeInfo> |
FileHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
void |
FileHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
| Constructor and Description |
|---|
PermissionMetadata(HivePrivilegeInfo.HivePrivilege permission,
boolean grantOption,
HivePrincipal grantee) |
| Modifier and Type | Method and Description |
|---|---|
void |
GlueHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
GlueHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
Set<RoleGrant> |
GlueHiveMetastore.listRoleGrants(HivePrincipal principal) |
void |
GlueHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
GlueHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
GlueHiveMetastore.setDatabaseOwner(HiveIdentity identity,
String databaseName,
HivePrincipal principal) |
| Modifier and Type | Method and Description |
|---|---|
void |
GlueHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
Set<HivePrivilegeInfo> |
GlueHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
void |
GlueHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
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 adminOption,
HivePrincipal grantor) |
void |
BridgingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
ThriftMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
ThriftHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
BridgingHiveMetastore.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
ThriftMetastore.grantTablePrivileges(String databaseName,
String tableName,
String tableOwner,
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) |
void |
ThriftHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
BridgingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
ThriftMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
ThriftHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
BridgingHiveMetastore.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
ThriftMetastore.revokeTablePrivileges(String databaseName,
String tableName,
String tableOwner,
HivePrincipal grantee,
Set<HivePrivilegeInfo> privileges) |
void |
BridgingHiveMetastore.setDatabaseOwner(HiveIdentity identity,
String databaseName,
HivePrincipal principal) |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
BridgingHiveMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
ThriftMetastore.grantRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
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) |
Set<HivePrivilegeInfo> |
ThriftHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
Set<HivePrivilegeInfo> |
BridgingHiveMetastore.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
Set<HivePrivilegeInfo> |
ThriftMetastore.listTablePrivileges(String databaseName,
String tableName,
String tableOwner,
Optional<HivePrincipal> principal) |
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 adminOption,
HivePrincipal grantor) |
void |
BridgingHiveMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
void |
ThriftMetastore.revokeRoles(Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
HivePrincipal grantor) |
| Modifier and Type | Method and Description |
|---|---|
default void |
AccessControlMetadata.grantTablePrivileges(ConnectorSession session,
SchemaTableName tableName,
Set<Privilege> privileges,
HivePrincipal grantee,
boolean grantOption)
Grants the specified privilege to the specified user on the specified table
|
void |
SqlStandardAccessControlMetadata.grantTablePrivileges(ConnectorSession session,
SchemaTableName schemaTableName,
Set<Privilege> privileges,
HivePrincipal grantee,
boolean grantOption) |
default Set<RoleGrant> |
AccessControlMetadata.listApplicableRoles(ConnectorSession session,
HivePrincipal principal)
List applicable roles, including the transitive grants, for the specified principal
|
Set<RoleGrant> |
SqlStandardAccessControlMetadata.listApplicableRoles(ConnectorSession session,
HivePrincipal principal) |
default Set<RoleGrant> |
AccessControlMetadata.listRoleGrants(ConnectorSession session,
HivePrincipal principal)
List role grants for a given principal, not recursively.
|
Set<RoleGrant> |
SqlStandardAccessControlMetadata.listRoleGrants(ConnectorSession session,
HivePrincipal principal) |
default void |
AccessControlMetadata.revokeTablePrivileges(ConnectorSession session,
SchemaTableName tableName,
Set<Privilege> privileges,
HivePrincipal grantee,
boolean grantOption)
Revokes the specified privilege on the specified table from the specified user
|
void |
SqlStandardAccessControlMetadata.revokeTablePrivileges(ConnectorSession session,
SchemaTableName schemaTableName,
Set<Privilege> privileges,
HivePrincipal grantee,
boolean grantOption) |
| Modifier and Type | Method and Description |
|---|---|
default void |
AccessControlMetadata.createRole(ConnectorSession session,
String role,
Optional<HivePrincipal> grantor)
Creates the specified role.
|
void |
SqlStandardAccessControlMetadata.createRole(ConnectorSession session,
String role,
Optional<HivePrincipal> grantor) |
default void |
AccessControlMetadata.grantRoles(ConnectorSession connectorSession,
Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
Optional<HivePrincipal> grantor)
Grants the specified roles to the specified grantees
|
default void |
AccessControlMetadata.grantRoles(ConnectorSession connectorSession,
Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
Optional<HivePrincipal> grantor)
Grants the specified roles to the specified grantees
|
void |
SqlStandardAccessControlMetadata.grantRoles(ConnectorSession session,
Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
Optional<HivePrincipal> grantor) |
void |
SqlStandardAccessControlMetadata.grantRoles(ConnectorSession session,
Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
Optional<HivePrincipal> grantor) |
default void |
AccessControlMetadata.revokeRoles(ConnectorSession connectorSession,
Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
Optional<HivePrincipal> grantor)
Revokes the specified roles from the specified grantees
|
default void |
AccessControlMetadata.revokeRoles(ConnectorSession connectorSession,
Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
Optional<HivePrincipal> grantor)
Revokes the specified roles from the specified grantees
|
void |
SqlStandardAccessControlMetadata.revokeRoles(ConnectorSession session,
Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
Optional<HivePrincipal> grantor) |
void |
SqlStandardAccessControlMetadata.revokeRoles(ConnectorSession session,
Set<String> roles,
Set<HivePrincipal> grantees,
boolean adminOption,
Optional<HivePrincipal> grantor) |
Copyright © 2012–2020. All rights reserved.