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(HiveIdentity identity, String databaseName, String tableName, List<String> partitionValues)Optional<Partition>HivePartitionMetadata. getPartition()Map<String,Optional<Partition>>HiveMetastoreClosure. getPartitionsByNames(HiveIdentity identity, String databaseName, String tableName, List<String> partitionNames)Method parameters in io.trino.plugin.hive with type arguments of type Partition Modifier and Type Method Description voidHiveMetastoreClosure. alterPartitions(HiveIdentity identity, 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.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, PartitionStatistics statistics)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 default voidHiveMetastore. alterPartitions(HiveIdentity identity, String dbName, String tableName, List<Partition> partitions, long writeId)voidSemiTransactionalHiveMetastore. alterPartitions(HiveIdentity identity, 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>HiveMetastore. getPartitionStatistics(HiveIdentity identity, Table table, List<Partition> partitions)Map<String,PartitionStatistics>RecordingHiveMetastore. getPartitionStatistics(HiveIdentity identity, 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(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>AlluxioHiveMetastore. getPartitionsByNames(HiveIdentity identity, 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(HiveIdentity identity, 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(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>CachingHiveMetastore. getPartitionsByNames(HiveIdentity identity, 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(HiveIdentity identity, String dbName, String tableName, List<Partition> partitions, long writeId)Map<String,PartitionStatistics>CachingHiveMetastore. getPartitionStatistics(HiveIdentity identity, 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(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>FileHiveMetastore. getPartitionsByNames(HiveIdentity identity, 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(HiveIdentity identity, 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 types with arguments of type Partition Modifier and Type Method Description Optional<Partition>GlueHiveMetastore. getPartition(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>GlueHiveMetastore. getPartitionsByNames(HiveIdentity identity, 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 Map<String,HiveColumnStatistics>DefaultGlueColumnStatisticsProvider. getPartitionColumnStatistics(Partition partition)Map<String,HiveColumnStatistics>DisabledGlueColumnStatisticsProvider. getPartitionColumnStatistics(Partition partition)Map<String,HiveColumnStatistics>GlueColumnStatisticsProvider. getPartitionColumnStatistics(Partition partition)voidDefaultGlueColumnStatisticsProvider. updatePartitionStatistics(Partition partition, Map<String,HiveColumnStatistics> updatedColumnStatistics)voidDisabledGlueColumnStatisticsProvider. updatePartitionStatistics(Partition partition, Map<String,HiveColumnStatistics> columnStatistics)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<String,PartitionStatistics>GlueHiveMetastore. getPartitionStatistics(HiveIdentity identity, Table table, List<Partition> partitions) -
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.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(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>BridgingHiveMetastore. getPartitionsByNames(HiveIdentity identity, 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(HiveIdentity identity, String dbName, String tableName, List<Partition> partitions, long writeId)Map<String,PartitionStatistics>BridgingHiveMetastore. getPartitionStatistics(HiveIdentity identity, 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)
-