Uses of Class
io.trino.plugin.hive.metastore.Partition
-
-
Uses of Partition in io.trino.plugin.hive
Methods in io.trino.plugin.hive that return types with arguments of type Partition Modifier and Type Method Description Optional<Partition>HiveMetastoreClosure. getPartition(String databaseName, String tableName, List<String> partitionValues)Optional<Partition>HivePartitionMetadata. getPartition()Map<String,Optional<Partition>>HiveMetastoreClosure. getPartitionsByNames(String databaseName, String tableName, List<String> partitionNames)Methods in io.trino.plugin.hive with parameters of type Partition Modifier and Type Method Description voidTableInvalidationCallback. invalidate(Partition partition)Method parameters in io.trino.plugin.hive with type arguments of type Partition Modifier and Type Method Description voidHiveMetastoreClosure. alterPartitions(String dbName, String tableName, List<Partition> partitions, long writeId)LocationService.WriteInfoHiveLocationService. getPartitionWriteInfo(LocationHandle locationHandle, Optional<Partition> partition, String partitionName)LocationService.WriteInfoLocationService. 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.fs
Methods in io.trino.plugin.hive.fs with parameters of type Partition Modifier and Type Method Description voidCachingDirectoryLister. 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 Partition Modifier and Type Method Description PartitionPartition.Builder. build()PartitionPartitionWithStatistics. getPartition()PartitionPartition. withAdjustedRowCount(String partitionName, long rowCountDelta)Methods in io.trino.plugin.hive.metastore with parameters of type Partition Modifier and Type Method Description voidSemiTransactionalHiveMetastore. addPartition(ConnectorSession session, String databaseName, String tableName, Partition partition, org.apache.hadoop.fs.Path currentLocation, Optional<List<String>> files, PartitionStatistics statistics, boolean cleanExtraOutputFilesOnCommit)static Partition.BuilderPartition. builder(Partition partition)static PropertiesMetastoreUtil. getHiveSchema(Partition partition, Table table)static org.apache.hadoop.hive.metastore.ProtectModeMetastoreUtil. getProtectMode(Partition partition)static StringMetastoreUtil. makePartitionName(Table table, Partition partition)Method parameters in io.trino.plugin.hive.metastore with type arguments of type Partition Modifier and Type Method Description voidForwardingHiveMetastore. 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)Map<String,PartitionStatistics>ForwardingHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)Map<String,PartitionStatistics>HiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)Constructors in io.trino.plugin.hive.metastore with parameters of type Partition Constructor Description PartitionWithStatistics(Partition partition, String partitionName, PartitionStatistics statistics)Constructor parameters in io.trino.plugin.hive.metastore with type arguments of type Partition Constructor Description HivePageSinkMetadata(SchemaTableName schemaTableName, Optional<Table> table, Map<List<String>,Optional<Partition>> modifiedPartitions) -
Uses of Partition in io.trino.plugin.hive.metastore.alluxio
Methods in io.trino.plugin.hive.metastore.alluxio that return Partition Modifier and Type Method Description static PartitionProtoUtils. fromProto(alluxio.grpc.table.layout.hive.PartitionInfo info)Methods in io.trino.plugin.hive.metastore.alluxio that return types with arguments of type Partition Modifier and Type Method Description Optional<Partition>AlluxioHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>AlluxioHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Method parameters in io.trino.plugin.hive.metastore.alluxio with type arguments of type Partition Modifier and Type Method Description Map<String,PartitionStatistics>AlluxioHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions) -
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 Partition Modifier and Type Method Description Optional<Partition>CachingHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>CachingHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Method parameters in io.trino.plugin.hive.metastore.cache with type arguments of type Partition Modifier and Type Method Description voidCachingHiveMetastore. alterPartitions(String dbName, String tableName, List<Partition> partitions, long writeId)Map<String,PartitionStatistics>CachingHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions) -
Uses of Partition in io.trino.plugin.hive.metastore.file
Methods in io.trino.plugin.hive.metastore.file that return Partition Modifier and Type Method Description PartitionPartitionMetadata. 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 Partition Modifier and Type Method Description Optional<Partition>FileHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>FileHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Method parameters in io.trino.plugin.hive.metastore.file with type arguments of type Partition Modifier and Type Method Description Map<String,PartitionStatistics>FileHiveMetastore. 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 Partition Modifier and Type Method Description PartitionGlueColumnStatisticsProvider.PartitionStatisticsUpdate. getPartition()Methods in io.trino.plugin.hive.metastore.glue that return types with arguments of type Partition Modifier and Type Method Description Optional<Partition>GlueHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<Partition,Map<String,HiveColumnStatistics>>DefaultGlueColumnStatisticsProvider. getPartitionColumnStatistics(Collection<Partition> partitions)Map<Partition,Map<String,HiveColumnStatistics>>DisabledGlueColumnStatisticsProvider. getPartitionColumnStatistics(Collection<Partition> partitions)Map<Partition,Map<String,HiveColumnStatistics>>GlueColumnStatisticsProvider. getPartitionColumnStatistics(Collection<Partition> partitions)Map<String,Optional<Partition>>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 Partition Modifier and Type Method Description default 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 Partition Modifier and Type Method Description Map<Partition,Map<String,HiveColumnStatistics>>DefaultGlueColumnStatisticsProvider. getPartitionColumnStatistics(Collection<Partition> partitions)Map<Partition,Map<String,HiveColumnStatistics>>DisabledGlueColumnStatisticsProvider. getPartitionColumnStatistics(Collection<Partition> partitions)Map<Partition,Map<String,HiveColumnStatistics>>GlueColumnStatisticsProvider. getPartitionColumnStatistics(Collection<Partition> partitions)Map<String,PartitionStatistics>GlueHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)Constructors in io.trino.plugin.hive.metastore.glue with parameters of type Partition Constructor Description PartitionStatisticsUpdate(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 Partition Modifier and Type Method Description PartitionGlueToTrinoConverter.GluePartitionConverter. apply(com.amazonaws.services.glue.model.Partition gluePartition)Methods in io.trino.plugin.hive.metastore.glue.converter with parameters of type Partition Modifier and Type Method Description static 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 Partition Modifier and Type Method Description Optional<Partition>HiveMetastoreRecording. getPartition(HivePartitionName hivePartitionName, Supplier<Optional<Partition>> valueSupplier)Optional<Partition>RecordingHiveMetastore. getPartition(Table table, List<String> partitionValues)List<HiveMetastoreRecording.Pair<HivePartitionName,Optional<Partition>>>HiveMetastoreRecording.Recording. getPartitions()Map<String,Optional<Partition>>HiveMetastoreRecording. getPartitionsByNames(Set<HivePartitionName> partitionNames, Supplier<Map<String,Optional<Partition>>> valueSupplier)List<HiveMetastoreRecording.Pair<HivePartitionName,Optional<Partition>>>HiveMetastoreRecording.Recording. getPartitionsByNames()Map<String,Optional<Partition>>RecordingHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Method parameters in io.trino.plugin.hive.metastore.recording with type arguments of type Partition Modifier and Type Method Description Optional<Partition>HiveMetastoreRecording. getPartition(HivePartitionName hivePartitionName, Supplier<Optional<Partition>> valueSupplier)Map<String,Optional<Partition>>HiveMetastoreRecording. getPartitionsByNames(Set<HivePartitionName> partitionNames, Supplier<Map<String,Optional<Partition>>> valueSupplier)Map<String,PartitionStatistics>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 Partition Modifier and Type Method Description static PartitionThriftMetastoreUtil. fromMetastoreApiPartition(org.apache.hadoop.hive.metastore.api.Partition partition)static PartitionThriftMetastoreUtil. fromMetastoreApiPartition(org.apache.hadoop.hive.metastore.api.Partition partition, List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema)Methods in io.trino.plugin.hive.metastore.thrift that return types with arguments of type Partition Modifier and Type Method Description Optional<Partition>BridgingHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>BridgingHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Methods in io.trino.plugin.hive.metastore.thrift with parameters of type Partition Modifier and Type Method Description static org.apache.hadoop.hive.metastore.api.PartitionThriftMetastoreUtil. toMetastoreApiPartition(Partition partition)static org.apache.hadoop.hive.metastore.api.PartitionThriftMetastoreUtil. toMetastoreApiPartition(Partition partition, Optional<Long> writeId)Method parameters in io.trino.plugin.hive.metastore.thrift with type arguments of type Partition Modifier and Type Method Description voidBridgingHiveMetastore. alterPartitions(String dbName, String tableName, List<Partition> partitions, long writeId)Map<String,PartitionStatistics>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 Partition Modifier and Type Method Description static 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 Partition Modifier and Type Method Description static voidHiveWriteUtils. checkPartitionIsWritable(String partitionName, Partition partition)
-