Package io.trino.sql.planner.plan
Class StatisticAggregationsDescriptor<T>
- java.lang.Object
-
- io.trino.sql.planner.plan.StatisticAggregationsDescriptor<T>
-
public class StatisticAggregationsDescriptor<T> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatisticAggregationsDescriptor.Builder<T>static classStatisticAggregationsDescriptor.ColumnStatisticMetadataKeyDeserializerstatic classStatisticAggregationsDescriptor.ColumnStatisticMetadataKeySerializer
-
Constructor Summary
Constructors Constructor Description StatisticAggregationsDescriptor(Map<String,T> grouping, Map<TableStatisticType,T> tableStatistics, Map<ColumnStatisticMetadata,T> columnStatistics)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <B> StatisticAggregationsDescriptor.Builder<B>builder()static <T> StatisticAggregationsDescriptor<T>empty()booleanequals(Object o)Map<ColumnStatisticMetadata,T>getColumnStatistics()Map<String,T>getGrouping()Map<TableStatisticType,T>getTableStatistics()inthashCode()<T2> StatisticAggregationsDescriptor<T2>map(Function<T,T2> mapper)StringtoString()
-
-
-
Constructor Detail
-
StatisticAggregationsDescriptor
public StatisticAggregationsDescriptor(Map<String,T> grouping, Map<TableStatisticType,T> tableStatistics, Map<ColumnStatisticMetadata,T> columnStatistics)
-
-
Method Detail
-
empty
public static <T> StatisticAggregationsDescriptor<T> empty()
-
getTableStatistics
public Map<TableStatisticType,T> getTableStatistics()
-
getColumnStatistics
public Map<ColumnStatisticMetadata,T> getColumnStatistics()
-
builder
public static <B> StatisticAggregationsDescriptor.Builder<B> builder()
-
map
public <T2> StatisticAggregationsDescriptor<T2> map(Function<T,T2> mapper)
-
-