Uses of Class
io.trino.plugin.hive.metastore.HivePrincipal
-
-
Uses of HivePrincipal in io.trino.plugin.hive
Methods in io.trino.plugin.hive with parameters of type HivePrincipal Modifier and Type Method Description voidHiveMetastoreClosure. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidHiveMetastoreClosure. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)Set<RoleGrant>HiveMetastoreClosure. listRoleGrants(HivePrincipal principal)voidHiveMetastoreClosure. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidHiveMetastoreClosure. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidHiveMetastoreClosure. setDatabaseOwner(HiveIdentity identity, String databaseName, HivePrincipal principal)voidHiveMetastoreClosure. setTableOwner(HiveIdentity identity, String databaseName, String tableName, HivePrincipal principal)Method parameters in io.trino.plugin.hive with type arguments of type HivePrincipal Modifier and Type Method Description Set<HivePrivilegeInfo>HiveMetastoreClosure. listTablePrivileges(String databaseName, String tableName, String tableOwner, Optional<HivePrincipal> principal) -
Uses of HivePrincipal in io.trino.plugin.hive.metastore
Methods in io.trino.plugin.hive.metastore that return HivePrincipal Modifier and Type Method Description static HivePrincipalHivePrincipal. from(ConnectorIdentity identity)static HivePrincipalHivePrincipal. from(TrinoPrincipal trinoPrincipal)HivePrincipalHivePrivilegeInfo. getGrantee()HivePrincipalHivePrivilegeInfo. getGrantor()Methods in io.trino.plugin.hive.metastore that return types with arguments of type HivePrincipal Modifier and Type Method Description static Set<HivePrincipal>HivePrincipal. from(Set<TrinoPrincipal> trinoPrincipals)Optional<HivePrincipal>UserTableKey. getPrincipal()List<RecordingHiveMetastore.Pair<HivePrincipal,Set<RoleGrant>>>RecordingHiveMetastore.Recording. getRoleGrants()Methods in io.trino.plugin.hive.metastore with parameters of type HivePrincipal Modifier and Type Method Description voidHiveMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidRecordingHiveMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidSemiTransactionalHiveMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidHiveMetastore. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidRecordingHiveMetastore. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidSemiTransactionalHiveMetastore. grantTablePrivileges(HiveIdentity identity, String databaseName, String tableName, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)Set<RoleGrant>HiveMetastore. listRoleGrants(HivePrincipal principal)Set<RoleGrant>RecordingHiveMetastore. listRoleGrants(HivePrincipal principal)Set<RoleGrant>SemiTransactionalHiveMetastore. listRoleGrants(HivePrincipal principal)voidHiveMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidRecordingHiveMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidSemiTransactionalHiveMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidHiveMetastore. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidRecordingHiveMetastore. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidSemiTransactionalHiveMetastore. revokeTablePrivileges(HiveIdentity identity, String databaseName, String tableName, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidHiveMetastore. setDatabaseOwner(HiveIdentity identity, String databaseName, HivePrincipal principal)voidRecordingHiveMetastore. setDatabaseOwner(HiveIdentity identity, String databaseName, HivePrincipal principal)voidSemiTransactionalHiveMetastore. setDatabaseOwner(HiveIdentity identity, String source, HivePrincipal principal)voidHiveMetastore. setTableOwner(HiveIdentity identity, String databaseName, String tableName, HivePrincipal principal)voidRecordingHiveMetastore. setTableOwner(HiveIdentity identity, String databaseName, String tableName, HivePrincipal principal)voidSemiTransactionalHiveMetastore. setTableOwner(HiveIdentity identity, String schema, String table, HivePrincipal principal)Method parameters in io.trino.plugin.hive.metastore with type arguments of type HivePrincipal Modifier and Type Method Description Set<HivePrivilegeInfo>HiveMetastore. listTablePrivileges(String databaseName, String tableName, String tableOwner, Optional<HivePrincipal> principal)Set<HivePrivilegeInfo>RecordingHiveMetastore. listTablePrivileges(String databaseName, String tableName, String tableOwner, Optional<HivePrincipal> principal)Set<HivePrivilegeInfo>SemiTransactionalHiveMetastore. listTablePrivileges(HiveIdentity identity, String databaseName, String tableName, Optional<HivePrincipal> principal)Constructors in io.trino.plugin.hive.metastore with parameters of type HivePrincipal Constructor Description HivePrivilegeInfo(HivePrivilegeInfo.HivePrivilege hivePrivilege, boolean grantOption, HivePrincipal grantor, HivePrincipal grantee)Constructor parameters in io.trino.plugin.hive.metastore with type arguments of type HivePrincipal Constructor Description UserTableKey(Optional<HivePrincipal> principal, String database, String table, String owner) -
Uses of HivePrincipal in io.trino.plugin.hive.metastore.alluxio
Methods in io.trino.plugin.hive.metastore.alluxio with parameters of type HivePrincipal Modifier and Type Method Description voidAlluxioHiveMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean withAdminOption, HivePrincipal grantor)voidAlluxioHiveMetastore. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)Set<RoleGrant>AlluxioHiveMetastore. listRoleGrants(HivePrincipal principal)voidAlluxioHiveMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOptionFor, HivePrincipal grantor)voidAlluxioHiveMetastore. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidAlluxioHiveMetastore. setDatabaseOwner(HiveIdentity identity, String databaseName, HivePrincipal principal)voidAlluxioHiveMetastore. setTableOwner(HiveIdentity identity, String databaseName, String tableName, HivePrincipal principal)Method parameters in io.trino.plugin.hive.metastore.alluxio with type arguments of type HivePrincipal Modifier and Type Method Description Set<HivePrivilegeInfo>AlluxioHiveMetastore. listTablePrivileges(String databaseName, String tableName, String tableOwner, Optional<HivePrincipal> principal) -
Uses of HivePrincipal in io.trino.plugin.hive.metastore.cache
Methods in io.trino.plugin.hive.metastore.cache with parameters of type HivePrincipal Modifier and Type Method Description voidCachingHiveMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidCachingHiveMetastore. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)Set<RoleGrant>CachingHiveMetastore. listRoleGrants(HivePrincipal principal)voidCachingHiveMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidCachingHiveMetastore. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidCachingHiveMetastore. setDatabaseOwner(HiveIdentity identity, String databaseName, HivePrincipal principal)voidCachingHiveMetastore. setTableOwner(HiveIdentity identity, String databaseName, String tableName, HivePrincipal principal)Method parameters in io.trino.plugin.hive.metastore.cache with type arguments of type HivePrincipal Modifier and Type Method Description Set<HivePrivilegeInfo>CachingHiveMetastore. listTablePrivileges(String databaseName, String tableName, String tableOwner, Optional<HivePrincipal> principal) -
Uses of HivePrincipal in io.trino.plugin.hive.metastore.file
Methods in io.trino.plugin.hive.metastore.file that return HivePrincipal Modifier and Type Method Description HivePrincipalPermissionMetadata. getGrantee()Methods in io.trino.plugin.hive.metastore.file with parameters of type HivePrincipal Modifier and Type Method Description voidFileHiveMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidFileHiveMetastore. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)Set<RoleGrant>FileHiveMetastore. listRoleGrants(HivePrincipal principal)voidFileHiveMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidFileHiveMetastore. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidFileHiveMetastore. setDatabaseOwner(HiveIdentity identity, String databaseName, HivePrincipal principal)voidFileHiveMetastore. setTableOwner(HiveIdentity identity, String databaseName, String tableName, HivePrincipal principal)Method parameters in io.trino.plugin.hive.metastore.file with type arguments of type HivePrincipal Modifier and Type Method Description Set<HivePrivilegeInfo>FileHiveMetastore. listTablePrivileges(String databaseName, String tableName, String tableOwner, Optional<HivePrincipal> principal)Constructors in io.trino.plugin.hive.metastore.file with parameters of type HivePrincipal Constructor Description PermissionMetadata(HivePrivilegeInfo.HivePrivilege permission, boolean grantOption, HivePrincipal grantee) -
Uses of HivePrincipal in io.trino.plugin.hive.metastore.glue
Methods in io.trino.plugin.hive.metastore.glue with parameters of type HivePrincipal Modifier and Type Method Description voidGlueHiveMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidGlueHiveMetastore. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)Set<RoleGrant>GlueHiveMetastore. listRoleGrants(HivePrincipal principal)voidGlueHiveMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidGlueHiveMetastore. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidGlueHiveMetastore. setDatabaseOwner(HiveIdentity identity, String databaseName, HivePrincipal principal)voidGlueHiveMetastore. setTableOwner(HiveIdentity identity, String databaseName, String tableName, HivePrincipal principal)Method parameters in io.trino.plugin.hive.metastore.glue with type arguments of type HivePrincipal Modifier and Type Method Description Set<HivePrivilegeInfo>GlueHiveMetastore. listTablePrivileges(String databaseName, String tableName, String tableOwner, Optional<HivePrincipal> principal) -
Uses of HivePrincipal in io.trino.plugin.hive.metastore.thrift
Methods in io.trino.plugin.hive.metastore.thrift that return types with arguments of type HivePrincipal Modifier and Type Method Description static Stream<HivePrincipal>ThriftMetastoreUtil. listEnabledPrincipals(ConnectorIdentity identity, Function<HivePrincipal,Set<RoleGrant>> listRoleGrants)Methods in io.trino.plugin.hive.metastore.thrift with parameters of type HivePrincipal Modifier and Type Method Description voidBridgingHiveMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidThriftHiveMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidThriftMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidBridgingHiveMetastore. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidThriftHiveMetastore. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidThriftMetastore. grantTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)static booleanThriftMetastoreUtil. isRoleApplicable(HivePrincipal principal, String role, Function<HivePrincipal,Set<RoleGrant>> listRoleGrants)static Stream<RoleGrant>ThriftMetastoreUtil. listApplicableRoles(HivePrincipal principal, Function<HivePrincipal,Set<RoleGrant>> listRoleGrants)Set<RoleGrant>BridgingHiveMetastore. listRoleGrants(HivePrincipal principal)Set<RoleGrant>ThriftHiveMetastore. listRoleGrants(HivePrincipal principal)Set<RoleGrant>ThriftMetastore. listRoleGrants(HivePrincipal principal)voidBridgingHiveMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidThriftHiveMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidThriftMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)voidBridgingHiveMetastore. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidThriftHiveMetastore. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidThriftMetastore. revokeTablePrivileges(String databaseName, String tableName, String tableOwner, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)voidBridgingHiveMetastore. setDatabaseOwner(HiveIdentity identity, String databaseName, HivePrincipal principal)voidBridgingHiveMetastore. setTableOwner(HiveIdentity identity, String databaseName, String tableName, HivePrincipal principal)Method parameters in io.trino.plugin.hive.metastore.thrift with type arguments of type HivePrincipal Modifier and Type Method Description static booleanThriftMetastoreUtil. isRoleApplicable(HivePrincipal principal, String role, Function<HivePrincipal,Set<RoleGrant>> listRoleGrants)static booleanThriftMetastoreUtil. isRoleEnabled(ConnectorIdentity identity, Function<HivePrincipal,Set<RoleGrant>> listRoleGrants, String role)static Stream<RoleGrant>ThriftMetastoreUtil. listApplicableRoles(HivePrincipal principal, Function<HivePrincipal,Set<RoleGrant>> listRoleGrants)static Stream<HivePrincipal>ThriftMetastoreUtil. listEnabledPrincipals(ConnectorIdentity identity, Function<HivePrincipal,Set<RoleGrant>> listRoleGrants)static Stream<String>ThriftMetastoreUtil. listEnabledRoles(ConnectorIdentity identity, Function<HivePrincipal,Set<RoleGrant>> listRoleGrants)Set<HivePrivilegeInfo>BridgingHiveMetastore. listTablePrivileges(String databaseName, String tableName, String tableOwner, Optional<HivePrincipal> principal)Set<HivePrivilegeInfo>ThriftHiveMetastore. 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) -
Uses of HivePrincipal in io.trino.plugin.hive.security
Methods in io.trino.plugin.hive.security with parameters of type HivePrincipal Modifier and Type Method Description voidSqlStandardAccessControlMetadataMetastore. grantRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)default voidAccessControlMetadata. grantSchemaPrivileges(ConnectorSession session, String schemaName, Set<Privilege> privileges, HivePrincipal grantee, boolean grantOption)Grants the specified privilege to the specified user on the specified schemadefault voidAccessControlMetadata. grantTablePrivileges(ConnectorSession session, SchemaTableName tableName, Set<Privilege> privileges, HivePrincipal grantee, boolean grantOption)Grants the specified privilege to the specified user on the specified tablevoidSqlStandardAccessControlMetadata. grantTablePrivileges(ConnectorSession session, SchemaTableName schemaTableName, Set<Privilege> privileges, HivePrincipal grantee, boolean grantOption)voidSqlStandardAccessControlMetadataMetastore. grantTablePrivileges(HiveIdentity identity, String databaseName, String tableName, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)default Set<RoleGrant>AccessControlMetadata. listApplicableRoles(ConnectorSession session, HivePrincipal principal)List applicable roles, including the transitive grants, for the specified principalSet<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>SemiTransactionalSqlStandardAccessControlMetastore. listRoleGrants(ConnectorSecurityContext context, HivePrincipal principal)Set<RoleGrant>SqlStandardAccessControlMetadata. listRoleGrants(ConnectorSession session, HivePrincipal principal)Set<RoleGrant>SqlStandardAccessControlMetadataMetastore. listRoleGrants(HivePrincipal principal)Set<RoleGrant>SqlStandardAccessControlMetastore. listRoleGrants(ConnectorSecurityContext context, HivePrincipal principal)voidSqlStandardAccessControlMetadataMetastore. revokeRoles(Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, HivePrincipal grantor)default voidAccessControlMetadata. revokeSchemaPrivileges(ConnectorSession session, String schemaName, Set<Privilege> privileges, HivePrincipal grantee, boolean grantOption)Revokes the specified privilege on the specified schema from the specified userdefault voidAccessControlMetadata. revokeTablePrivileges(ConnectorSession session, SchemaTableName tableName, Set<Privilege> privileges, HivePrincipal grantee, boolean grantOption)Revokes the specified privilege on the specified table from the specified uservoidSqlStandardAccessControlMetadata. revokeTablePrivileges(ConnectorSession session, SchemaTableName schemaTableName, Set<Privilege> privileges, HivePrincipal grantee, boolean grantOption)voidSqlStandardAccessControlMetadataMetastore. revokeTablePrivileges(HiveIdentity identity, String databaseName, String tableName, HivePrincipal grantee, Set<HivePrivilegeInfo> privileges)Method parameters in io.trino.plugin.hive.security with type arguments of type HivePrincipal Modifier and Type Method Description default voidAccessControlMetadata. createRole(ConnectorSession session, String role, Optional<HivePrincipal> grantor)Creates the specified role.voidSqlStandardAccessControlMetadata. createRole(ConnectorSession session, String role, Optional<HivePrincipal> grantor)default voidAccessControlMetadata. grantRoles(ConnectorSession connectorSession, Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, Optional<HivePrincipal> grantor)Grants the specified roles to the specified granteesvoidSqlStandardAccessControlMetadata. grantRoles(ConnectorSession session, Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, Optional<HivePrincipal> grantor)Set<HivePrivilegeInfo>SemiTransactionalSqlStandardAccessControlMetastore. listTablePrivileges(ConnectorSecurityContext context, HiveIdentity identity, String databaseName, String tableName, Optional<HivePrincipal> principal)Set<HivePrivilegeInfo>SqlStandardAccessControlMetadataMetastore. listTablePrivileges(HiveIdentity identity, String databaseName, String tableName, Optional<HivePrincipal> principal)Set<HivePrivilegeInfo>SqlStandardAccessControlMetastore. listTablePrivileges(ConnectorSecurityContext context, HiveIdentity identity, String databaseName, String tableName, Optional<HivePrincipal> principal)default voidAccessControlMetadata. revokeRoles(ConnectorSession connectorSession, Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, Optional<HivePrincipal> grantor)Revokes the specified roles from the specified granteesvoidSqlStandardAccessControlMetadata. revokeRoles(ConnectorSession session, Set<String> roles, Set<HivePrincipal> grantees, boolean adminOption, Optional<HivePrincipal> grantor)
-