Package io.prestosql.sql.planner.plan
Class StatisticAggregationsDescriptor<T>
- java.lang.Object
-
- io.prestosql.sql.planner.plan.StatisticAggregationsDescriptor<T>
-
public class StatisticAggregationsDescriptor<T> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StatisticAggregationsDescriptor.Builder<T>
static class
StatisticAggregationsDescriptor.ColumnStatisticMetadataKeyDeserializer
static class
StatisticAggregationsDescriptor.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()
boolean
equals(Object o)
Map<ColumnStatisticMetadata,T>
getColumnStatistics()
Map<String,T>
getGrouping()
Map<TableStatisticType,T>
getTableStatistics()
int
hashCode()
<T2> StatisticAggregationsDescriptor<T2>
map(Function<T,T2> mapper)
String
toString()
-
-
-
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)
-
-