Uses of Class
io.trino.plugin.hive.metastore.PrincipalPrivileges
Packages that use PrincipalPrivileges
Package
Description
-
Uses of PrincipalPrivileges in io.trino.plugin.hive
Methods in io.trino.plugin.hive with parameters of type PrincipalPrivilegesModifier and TypeMethodDescriptionvoidHiveMetastoreClosure.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) voidHiveMetastoreClosure.createTable(Table table, PrincipalPrivileges principalPrivileges) voidHiveMetastoreClosure.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) -
Uses of PrincipalPrivileges in io.trino.plugin.hive.metastore
Fields in io.trino.plugin.hive.metastore declared as PrincipalPrivilegesModifier and TypeFieldDescriptionstatic final PrincipalPrivilegesPrincipalPrivileges.NO_PRIVILEGESMethods in io.trino.plugin.hive.metastore that return PrincipalPrivilegesModifier and TypeMethodDescriptionstatic PrincipalPrivilegesMetastoreUtil.buildInitialPrivilegeSet(String tableOwner) static PrincipalPrivilegesPrincipalPrivileges.fromHivePrivilegeInfos(Set<HivePrivilegeInfo> hivePrivileges) Methods in io.trino.plugin.hive.metastore with parameters of type PrincipalPrivilegesModifier and TypeMethodDescriptionvoidForwardingHiveMetastore.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) default voidHiveMetastore.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) voidForwardingHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) voidHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) voidSemiTransactionalHiveMetastore.createTable(ConnectorSession session, Table table, PrincipalPrivileges principalPrivileges, Optional<org.apache.hadoop.fs.Path> currentPath, Optional<List<String>> files, boolean ignoreExisting, PartitionStatistics statistics, boolean cleanExtraOutputFilesOnCommit) currentLocationneeds to be supplied if a writePath exists for the table.voidForwardingHiveMetastore.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) voidHiveMetastore.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) This should only be used if the semantic here is drop and add.voidSemiTransactionalHiveMetastore.replaceTable(String databaseName, String tableName, Table table, PrincipalPrivileges principalPrivileges) -
Uses of PrincipalPrivileges in io.trino.plugin.hive.metastore.cache
Methods in io.trino.plugin.hive.metastore.cache with parameters of type PrincipalPrivilegesModifier and TypeMethodDescriptionvoidCachingHiveMetastore.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) voidCachingHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) voidCachingHiveMetastore.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) -
Uses of PrincipalPrivileges in io.trino.plugin.hive.metastore.file
Methods in io.trino.plugin.hive.metastore.file with parameters of type PrincipalPrivilegesModifier and TypeMethodDescriptionvoidFileHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) voidFileHiveMetastore.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) -
Uses of PrincipalPrivileges in io.trino.plugin.hive.metastore.glue
Methods in io.trino.plugin.hive.metastore.glue with parameters of type PrincipalPrivilegesModifier and TypeMethodDescriptionvoidGlueHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) voidGlueHiveMetastore.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) -
Uses of PrincipalPrivileges in io.trino.plugin.hive.metastore.recording
Methods in io.trino.plugin.hive.metastore.recording with parameters of type PrincipalPrivilegesModifier and TypeMethodDescriptionvoidRecordingHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) voidRecordingHiveMetastore.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) -
Uses of PrincipalPrivileges in io.trino.plugin.hive.metastore.thrift
Methods in io.trino.plugin.hive.metastore.thrift with parameters of type PrincipalPrivilegesModifier and TypeMethodDescriptionvoidBridgingHiveMetastore.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) voidBridgingHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) voidBridgingHiveMetastore.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) static io.trino.hive.thrift.metastore.TableThriftMetastoreUtil.toMetastoreApiTable(Table table, PrincipalPrivileges privileges)