public final class Statistics extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Statistics.ReduceOperator |
public static PartitionStatistics merge(PartitionStatistics first, PartitionStatistics second)
public static HiveBasicStatistics reduce(HiveBasicStatistics first, HiveBasicStatistics second, Statistics.ReduceOperator operator)
public static Map<String,HiveColumnStatistics> merge(Map<String,HiveColumnStatistics> first, Map<String,HiveColumnStatistics> second)
public static HiveColumnStatistics merge(HiveColumnStatistics first, HiveColumnStatistics second)
public static PartitionStatistics createEmptyPartitionStatistics(Map<String,Type> columnTypes, Map<String,Set<ColumnStatisticType>> columnStatisticsMetadataTypes)
public static Map<List<String>,ComputedStatistics> createComputedStatisticsToPartitionMap(Collection<ComputedStatistics> computedStatistics, List<String> partitionColumns, Map<String,Type> columnTypes)
public static Map<String,HiveColumnStatistics> fromComputedStatistics(ConnectorSession session, org.joda.time.DateTimeZone timeZone, Map<ColumnStatisticMetadata,Block> computedStatistics, Map<String,Type> columnTypes, long rowCount)
Copyright © 2012–2020. All rights reserved.