Package io.trino.sql.planner.plan
Class StatisticAggregationsDescriptor<T>
java.lang.Object
io.trino.sql.planner.plan.StatisticAggregationsDescriptor<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionStatisticAggregationsDescriptor(Map<String, T> grouping, Map<TableStatisticType, T> tableStatistics, Map<ColumnStatisticMetadata, T> columnStatistics) -
Method Summary
Modifier and TypeMethodDescriptionstatic <B> StatisticAggregationsDescriptor.Builder<B> builder()static <T> StatisticAggregationsDescriptor<T> empty()booleanstatic <T> StatisticAggregationsDescriptor<T> fromJson(Map<String, T> grouping, Map<TableStatisticType, T> tableStatistics, List<StatisticAggregationsDescriptor.ColumnStatisticAggregationsDescriptor<T>> columnStatistics) inthashCode()<T2> StatisticAggregationsDescriptor<T2> toString()
-
Constructor Details
-
StatisticAggregationsDescriptor
public StatisticAggregationsDescriptor(Map<String, T> grouping, Map<TableStatisticType, T> tableStatistics, Map<ColumnStatisticMetadata, T> columnStatistics)
-
-
Method Details
-
empty
-
fromJson
public static <T> StatisticAggregationsDescriptor<T> fromJson(Map<String, T> grouping, Map<TableStatisticType, T> tableStatistics, List<StatisticAggregationsDescriptor.ColumnStatisticAggregationsDescriptor<T>> columnStatistics) -
getGrouping
-
getTableStatistics
-
getColumnStatistics
-
getColumnStatisticsList
public final List<StatisticAggregationsDescriptor.ColumnStatisticAggregationsDescriptor<T>> getColumnStatisticsList() -
equals
-
hashCode
public int hashCode() -
toString
-
builder
-
map
-