Uses of Class
io.trino.plugin.hive.metastore.Partition
Packages that use Partition
Package
Description
-
Uses of Partition in io.trino.plugin.hive
Methods in io.trino.plugin.hive that return types with arguments of type PartitionModifier and TypeMethodDescriptionHiveMetastoreClosure.getPartition(String databaseName, String tableName, List<String> partitionValues) HivePartitionMetadata.getPartition()HiveMetastoreClosure.getPartitionsByNames(String databaseName, String tableName, List<String> partitionNames) Methods in io.trino.plugin.hive with parameters of type PartitionMethod parameters in io.trino.plugin.hive with type arguments of type PartitionModifier and TypeMethodDescriptionvoidHiveMetastoreClosure.alterPartitions(String dbName, String tableName, List<Partition> partitions, long writeId) HiveLocationService.getPartitionWriteInfo(LocationHandle locationHandle, Optional<Partition> partition, String partitionName) LocationService.getPartitionWriteInfo(LocationHandle locationHandle, Optional<Partition> partition, String partitionName) Ifpartitionis present, returnsWriteInfofor appending existing partition; otherwise, returnsWriteInfofor writing new partition or overwriting existing partition. -
Uses of Partition in io.trino.plugin.hive.aws.athena
Methods in io.trino.plugin.hive.aws.athena that return types with arguments of type Partition -
Uses of Partition in io.trino.plugin.hive.fs
Methods in io.trino.plugin.hive.fs with parameters of type PartitionModifier and TypeMethodDescriptionvoidCachingDirectoryLister.invalidate(Partition partition) voidTransactionScopeCachingDirectoryLister.invalidate(Partition partition) -
Uses of Partition in io.trino.plugin.hive.metastore
Methods in io.trino.plugin.hive.metastore that return PartitionModifier and TypeMethodDescriptionPartition.Builder.build()PartitionWithStatistics.getPartition()Methods in io.trino.plugin.hive.metastore that return types with arguments of type PartitionModifier and TypeMethodDescriptionHivePageSinkMetadata.getJsonSerializableModifiedPartitions()HivePageSinkMetadata.getModifiedPartitions()ForwardingHiveMetastore.getPartition(Table table, List<String> partitionValues) HiveMetastore.getPartition(Table table, List<String> partitionValues) HivePageSinkMetadataProvider.getPartition(List<String> partitionValues) ForwardingHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) HiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) SemiTransactionalHiveMetastore.getPartitionsByNames(String databaseName, String tableName, List<String> partitionNames) Methods in io.trino.plugin.hive.metastore with parameters of type PartitionModifier and TypeMethodDescriptionvoidSemiTransactionalHiveMetastore.addPartition(ConnectorSession session, String databaseName, String tableName, Partition partition, Location currentLocation, Optional<List<String>> files, PartitionStatistics statistics, boolean cleanExtraOutputFilesOnCommit) static Partition.Builderstatic PropertiesMetastoreUtil.getHiveSchema(Partition partition, Table table) static ProtectModeMetastoreUtil.getProtectMode(Partition partition) static StringMetastoreUtil.makePartitionName(Table table, Partition partition) Method parameters in io.trino.plugin.hive.metastore with type arguments of type PartitionModifier and TypeMethodDescriptionvoidForwardingHiveMetastore.alterPartitions(String dbName, String tableName, List<Partition> partitions, long writeId) default voidHiveMetastore.alterPartitions(String dbName, String tableName, List<Partition> partitions, long writeId) voidSemiTransactionalHiveMetastore.alterPartitions(String dbName, String tableName, List<Partition> partitions, long writeId) static HivePageSinkMetadataHivePageSinkMetadata.deserialize(SchemaTableName schemaTableName, Optional<Table> table, List<HivePageSinkMetadata.JsonSerializableEntry<List<String>, Optional<Partition>>> modifiedPartitions) static StringMetastoreUtil.getPartitionLocation(Table table, Optional<Partition> partition) ForwardingHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) HiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) Constructors in io.trino.plugin.hive.metastore with parameters of type PartitionModifierConstructorDescriptionPartitionWithStatistics(Partition partition, String partitionName, PartitionStatistics statistics) Constructor parameters in io.trino.plugin.hive.metastore with type arguments of type PartitionModifierConstructorDescriptionHivePageSinkMetadata(SchemaTableName schemaTableName, Optional<Table> table, Map<List<String>, Optional<Partition>> modifiedPartitions) -
Uses of Partition in io.trino.plugin.hive.metastore.cache
Methods in io.trino.plugin.hive.metastore.cache that return types with arguments of type PartitionModifier and TypeMethodDescriptionCachingHiveMetastore.getPartition(Table table, List<String> partitionValues) CachingHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) Method parameters in io.trino.plugin.hive.metastore.cache with type arguments of type PartitionModifier and TypeMethodDescriptionvoidCachingHiveMetastore.alterPartitions(String dbName, String tableName, List<Partition> partitions, long writeId) CachingHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) The method will cache and return columns specified in theTable.getDataColumns()but may return more if other columns are already cached for a given partition. -
Uses of Partition in io.trino.plugin.hive.metastore.file
Methods in io.trino.plugin.hive.metastore.file that return PartitionModifier and TypeMethodDescriptionPartitionMetadata.toPartition(String databaseName, String tableName, List<String> values, String location) Methods in io.trino.plugin.hive.metastore.file that return types with arguments of type PartitionModifier and TypeMethodDescriptionFileHiveMetastore.getPartition(Table table, List<String> partitionValues) FileHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) Method parameters in io.trino.plugin.hive.metastore.file with type arguments of type PartitionModifier and TypeMethodDescriptionFileHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) -
Uses of Partition in io.trino.plugin.hive.metastore.glue
Methods in io.trino.plugin.hive.metastore.glue that return PartitionModifier and TypeMethodDescriptionGlueColumnStatisticsProvider.PartitionStatisticsUpdate.getPartition()Methods in io.trino.plugin.hive.metastore.glue that return types with arguments of type PartitionModifier and TypeMethodDescriptionGlueHiveMetastore.getPartition(Table table, List<String> partitionValues) DefaultGlueColumnStatisticsProvider.getPartitionColumnStatistics(Collection<Partition> partitions) DisabledGlueColumnStatisticsProvider.getPartitionColumnStatistics(Collection<Partition> partitions) GlueColumnStatisticsProvider.getPartitionColumnStatistics(Collection<Partition> partitions) GlueHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) Ex: Partition keys = ['a', 'b'] Partition names = ['a=1/b=2', 'a=2/b=2']Methods in io.trino.plugin.hive.metastore.glue with parameters of type PartitionModifier and TypeMethodDescriptiondefault Map<String,HiveColumnStatistics> GlueColumnStatisticsProvider.getPartitionColumnStatistics(Partition partition) default voidGlueColumnStatisticsProvider.updatePartitionStatistics(Partition partition, Map<String, HiveColumnStatistics> columnStatistics) Method parameters in io.trino.plugin.hive.metastore.glue with type arguments of type PartitionModifier and TypeMethodDescriptionDefaultGlueColumnStatisticsProvider.getPartitionColumnStatistics(Collection<Partition> partitions) DisabledGlueColumnStatisticsProvider.getPartitionColumnStatistics(Collection<Partition> partitions) GlueColumnStatisticsProvider.getPartitionColumnStatistics(Collection<Partition> partitions) GlueHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) Constructors in io.trino.plugin.hive.metastore.glue with parameters of type PartitionModifierConstructorDescriptionPartitionStatisticsUpdate(Partition partition, Map<String, HiveColumnStatistics> columnStatistics) -
Uses of Partition in io.trino.plugin.hive.metastore.glue.converter
Methods in io.trino.plugin.hive.metastore.glue.converter that return PartitionModifier and TypeMethodDescriptionGlueToTrinoConverter.GluePartitionConverter.apply(com.amazonaws.services.glue.model.Partition gluePartition) Methods in io.trino.plugin.hive.metastore.glue.converter with parameters of type PartitionModifier and TypeMethodDescriptionstatic com.amazonaws.services.glue.model.PartitionInputGlueInputConverter.convertPartition(Partition partition) static List<com.amazonaws.services.glue.model.ColumnStatistics>GlueStatConverter.toGlueColumnStatistics(Partition partition, Map<String, HiveColumnStatistics> trinoColumnStats, OptionalLong rowCount) -
Uses of Partition in io.trino.plugin.hive.metastore.recording
Methods in io.trino.plugin.hive.metastore.recording that return types with arguments of type PartitionModifier and TypeMethodDescriptionHiveMetastoreRecording.getPartition(HivePartitionName hivePartitionName, Supplier<Optional<Partition>> valueSupplier) RecordingHiveMetastore.getPartition(Table table, List<String> partitionValues) HiveMetastoreRecording.Recording.getPartitions()HiveMetastoreRecording.getPartitionsByNames(Set<HivePartitionName> partitionNames, Supplier<Map<String, Optional<Partition>>> valueSupplier) HiveMetastoreRecording.Recording.getPartitionsByNames()RecordingHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) Method parameters in io.trino.plugin.hive.metastore.recording with type arguments of type PartitionModifier and TypeMethodDescriptionHiveMetastoreRecording.getPartition(HivePartitionName hivePartitionName, Supplier<Optional<Partition>> valueSupplier) HiveMetastoreRecording.getPartitionsByNames(Set<HivePartitionName> partitionNames, Supplier<Map<String, Optional<Partition>>> valueSupplier) RecordingHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) -
Uses of Partition in io.trino.plugin.hive.metastore.thrift
Methods in io.trino.plugin.hive.metastore.thrift that return PartitionModifier and TypeMethodDescriptionstatic PartitionThriftMetastoreUtil.fromMetastoreApiPartition(io.trino.hive.thrift.metastore.Partition partition) static PartitionThriftMetastoreUtil.fromMetastoreApiPartition(io.trino.hive.thrift.metastore.Partition partition, List<io.trino.hive.thrift.metastore.FieldSchema> schema) Methods in io.trino.plugin.hive.metastore.thrift that return types with arguments of type PartitionModifier and TypeMethodDescriptionBridgingHiveMetastore.getPartition(Table table, List<String> partitionValues) BridgingHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) Methods in io.trino.plugin.hive.metastore.thrift with parameters of type PartitionModifier and TypeMethodDescriptionstatic io.trino.hive.thrift.metastore.PartitionThriftMetastoreUtil.toMetastoreApiPartition(Partition partition) static io.trino.hive.thrift.metastore.PartitionThriftMetastoreUtil.toMetastoreApiPartition(Partition partition, Optional<Long> writeId) Method parameters in io.trino.plugin.hive.metastore.thrift with type arguments of type PartitionModifier and TypeMethodDescriptionvoidBridgingHiveMetastore.alterPartitions(String dbName, String tableName, List<Partition> partitions, long writeId) BridgingHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) -
Uses of Partition in io.trino.plugin.hive.s3select
Method parameters in io.trino.plugin.hive.s3select with type arguments of type PartitionModifier and TypeMethodDescriptionstatic booleanS3SelectPushdown.shouldEnablePushdownForTable(ConnectorSession session, Table table, String path, Optional<Partition> optionalPartition) -
Uses of Partition in io.trino.plugin.hive.util
Methods in io.trino.plugin.hive.util with parameters of type PartitionModifier and TypeMethodDescriptionstatic voidHiveWriteUtils.checkPartitionIsWritable(String partitionName, Partition partition)