Uses of Class
io.trino.cost.PlanNodeStatsEstimate
Packages that use PlanNodeStatsEstimate
Package
Description
-
Uses of PlanNodeStatsEstimate in io.trino.cost
Methods in io.trino.cost that return PlanNodeStatsEstimateModifier and TypeMethodDescriptionstatic PlanNodeStatsEstimatePlanNodeStatsEstimateMath.addStatsAndCollapseDistinctValues(PlanNodeStatsEstimate left, PlanNodeStatsEstimate right) static PlanNodeStatsEstimatePlanNodeStatsEstimateMath.addStatsAndMaxDistinctValues(PlanNodeStatsEstimate left, PlanNodeStatsEstimate right) static PlanNodeStatsEstimatePlanNodeStatsEstimateMath.addStatsAndSumDistinctValues(PlanNodeStatsEstimate left, PlanNodeStatsEstimate right) PlanNodeStatsEstimate.Builder.build()ComposableStatsCalculator.calculateStats(PlanNode node, StatsCalculator.Context context) StatsCalculator.calculateStats(PlanNode node, StatsCalculator.Context context) Calculate stats for thenode.static PlanNodeStatsEstimatePlanNodeStatsEstimateMath.capStats(PlanNodeStatsEstimate stats, PlanNodeStatsEstimate cap) static PlanNodeStatsEstimateSemiJoinStatsCalculator.computeAntiJoin(PlanNodeStatsEstimate sourceStats, PlanNodeStatsEstimate filteringSourceStats, Symbol sourceJoinSymbol, Symbol filteringSourceJoinSymbol) static PlanNodeStatsEstimateSemiJoinStatsCalculator.computeSemiJoin(PlanNodeStatsEstimate sourceStats, PlanNodeStatsEstimate filteringSourceStats, Symbol sourceJoinSymbol, Symbol filteringSourceJoinSymbol) static PlanNodeStatsEstimateComparisonStatsCalculator.estimateExpressionToExpressionComparison(PlanNodeStatsEstimate inputStatistics, SymbolStatsEstimate leftExpressionStatistics, Optional<Symbol> leftExpressionSymbol, SymbolStatsEstimate rightExpressionStatistics, Optional<Symbol> rightExpressionSymbol, ComparisonExpression.Operator operator) static PlanNodeStatsEstimateComparisonStatsCalculator.estimateExpressionToLiteralComparison(PlanNodeStatsEstimate inputStatistics, SymbolStatsEstimate expressionStatistics, Optional<Symbol> expressionSymbol, OptionalDouble literalValue, ComparisonExpression.Operator operator) FilterStatsCalculator.filterStats(PlanNodeStatsEstimate statsEstimate, Expression predicate, Session session, TypeProvider types) static PlanNodeStatsEstimateAggregationStatsRule.groupBy(PlanNodeStatsEstimate sourceStats, Collection<Symbol> groupBySymbols, Map<Symbol, AggregationNode.Aggregation> aggregations) PlanNodeStatsEstimate.mapOutputRowCount(Function<Double, Double> mappingFunction) PlanNodeStatsEstimate.mapSymbolColumnStatistics(Symbol symbol, Function<SymbolStatsEstimate, SymbolStatsEstimate> mappingFunction) StatsNormalizer.normalize(PlanNodeStatsEstimate stats, TypeProvider types) StatsNormalizer.normalize(PlanNodeStatsEstimate stats, Collection<Symbol> outputSymbols, TypeProvider types) static PlanNodeStatsEstimatePlanNodeStatsEstimateMath.subtractSubsetStats(PlanNodeStatsEstimate superset, PlanNodeStatsEstimate subset) Subtracts subset stats from supersets stats.static PlanNodeStatsEstimatePlanNodeStatsEstimate.unknown()Methods in io.trino.cost that return types with arguments of type PlanNodeStatsEstimateModifier and TypeMethodDescriptionAssignUniqueIdStatsRule.calculate(AssignUniqueId assignUniqueId, StatsCalculator.Context context) ComposableStatsCalculator.Rule.calculate(T node, StatsCalculator.Context context) DynamicFilterSourceStatsRule.calculate(DynamicFilterSourceNode node, StatsCalculator.Context context) OutputStatsRule.calculate(OutputNode node, StatsCalculator.Context context) SemiJoinStatsRule.calculate(SemiJoinNode node, StatsCalculator.Context context) final Optional<PlanNodeStatsEstimate> SimpleStatsRule.calculate(T node, StatsCalculator.Context context) SortStatsRule.calculate(SortNode node, StatsCalculator.Context context) ValuesStatsRule.calculate(ValuesNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> AggregationStatsRule.doCalculate(AggregationNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> DistinctLimitStatsRule.doCalculate(DistinctLimitNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> EnforceSingleRowStatsRule.doCalculate(EnforceSingleRowNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> ExchangeStatsRule.doCalculate(ExchangeNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> FilterProjectAggregationStatsRule.doCalculate(FilterNode node, StatsCalculator.Context context) FilterStatsRule.doCalculate(FilterNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> JoinStatsRule.doCalculate(JoinNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> LimitStatsRule.doCalculate(LimitNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> ProjectStatsRule.doCalculate(ProjectNode node, StatsCalculator.Context context) RowNumberStatsRule.doCalculate(RowNumberNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> SampleStatsRule.doCalculate(SampleNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> SimpleFilterProjectSemiJoinStatsRule.doCalculate(FilterNode node, StatsCalculator.Context context) protected abstract Optional<PlanNodeStatsEstimate> SimpleStatsRule.doCalculate(T node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> SpatialJoinStatsRule.doCalculate(SpatialJoinNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> TableScanStatsRule.doCalculate(TableScanNode node, StatsCalculator.Context context) protected Optional<PlanNodeStatsEstimate> TopNStatsRule.doCalculate(TopNNode node, StatsCalculator.Context context) protected final Optional<PlanNodeStatsEstimate> UnionStatsRule.doCalculate(UnionNode node, StatsCalculator.Context context) StatsAndCosts.getStats()Methods in io.trino.cost with parameters of type PlanNodeStatsEstimateModifier and TypeMethodDescriptionstatic PlanNodeStatsEstimatePlanNodeStatsEstimateMath.addStatsAndCollapseDistinctValues(PlanNodeStatsEstimate left, PlanNodeStatsEstimate right) static PlanNodeStatsEstimatePlanNodeStatsEstimateMath.addStatsAndMaxDistinctValues(PlanNodeStatsEstimate left, PlanNodeStatsEstimate right) static PlanNodeStatsEstimatePlanNodeStatsEstimateMath.addStatsAndSumDistinctValues(PlanNodeStatsEstimate left, PlanNodeStatsEstimate right) PlanNodeStatsEstimate.buildFrom(PlanNodeStatsEstimate other) ScalarStatsCalculator.calculate(Expression scalarExpression, PlanNodeStatsEstimate inputStatistics, Session session, TypeProvider types) static PlanNodeStatsEstimatePlanNodeStatsEstimateMath.capStats(PlanNodeStatsEstimate stats, PlanNodeStatsEstimate cap) static PlanNodeStatsEstimateSemiJoinStatsCalculator.computeAntiJoin(PlanNodeStatsEstimate sourceStats, PlanNodeStatsEstimate filteringSourceStats, Symbol sourceJoinSymbol, Symbol filteringSourceJoinSymbol) static PlanNodeStatsEstimateSemiJoinStatsCalculator.computeSemiJoin(PlanNodeStatsEstimate sourceStats, PlanNodeStatsEstimate filteringSourceStats, Symbol sourceJoinSymbol, Symbol filteringSourceJoinSymbol) static doublePlanNodeStatsEstimateMath.estimateCorrelatedConjunctionRowCount(PlanNodeStatsEstimate input, List<PlanNodeStatsEstimate> estimates, double independenceFactor) static PlanNodeStatsEstimateComparisonStatsCalculator.estimateExpressionToExpressionComparison(PlanNodeStatsEstimate inputStatistics, SymbolStatsEstimate leftExpressionStatistics, Optional<Symbol> leftExpressionSymbol, SymbolStatsEstimate rightExpressionStatistics, Optional<Symbol> rightExpressionSymbol, ComparisonExpression.Operator operator) static PlanNodeStatsEstimateComparisonStatsCalculator.estimateExpressionToLiteralComparison(PlanNodeStatsEstimate inputStatistics, SymbolStatsEstimate expressionStatistics, Optional<Symbol> expressionSymbol, OptionalDouble literalValue, ComparisonExpression.Operator operator) FilterStatsCalculator.filterStats(PlanNodeStatsEstimate statsEstimate, Expression predicate, Session session, TypeProvider types) static doubleAggregationStatsRule.getRowsCount(PlanNodeStatsEstimate sourceStats, Collection<Symbol> groupBySymbols) static PlanNodeStatsEstimateAggregationStatsRule.groupBy(PlanNodeStatsEstimate sourceStats, Collection<Symbol> groupBySymbols, Map<Symbol, AggregationNode.Aggregation> aggregations) StatsNormalizer.normalize(PlanNodeStatsEstimate stats, TypeProvider types) StatsNormalizer.normalize(PlanNodeStatsEstimate stats, Collection<Symbol> outputSymbols, TypeProvider types) static PlanNodeStatsEstimatePlanNodeStatsEstimateMath.subtractSubsetStats(PlanNodeStatsEstimate superset, PlanNodeStatsEstimate subset) Subtracts subset stats from supersets stats.Method parameters in io.trino.cost with type arguments of type PlanNodeStatsEstimateModifier and TypeMethodDescriptionstatic doublePlanNodeStatsEstimateMath.estimateCorrelatedConjunctionRowCount(PlanNodeStatsEstimate input, List<PlanNodeStatsEstimate> estimates, double independenceFactor) static Map<Symbol, SymbolStatsEstimate> PlanNodeStatsEstimateMath.intersectCorrelatedStats(List<PlanNodeStatsEstimate> estimates) Constructor parameters in io.trino.cost with type arguments of type PlanNodeStatsEstimateModifierConstructorDescriptionStatsAndCosts(Map<PlanNodeId, PlanNodeStatsEstimate> stats, Map<PlanNodeId, PlanCostEstimate> costs) -
Uses of PlanNodeStatsEstimate in io.trino.sql.planner.iterative
Methods in io.trino.sql.planner.iterative that return types with arguments of type PlanNodeStatsEstimateMethods in io.trino.sql.planner.iterative with parameters of type PlanNodeStatsEstimate -
Uses of PlanNodeStatsEstimate in io.trino.sql.planner.iterative.rule
Methods in io.trino.sql.planner.iterative.rule that return types with arguments of type PlanNodeStatsEstimateModifier and TypeMethodDescriptionstatic Optional<PlanNodeStatsEstimate> Rules.deriveTableStatisticsForPushdown(StatsProvider statsProvider, Session session, boolean precalculateStatistics, PlanNode oldTableScanParent) -
Uses of PlanNodeStatsEstimate in io.trino.sql.planner.plan
Methods in io.trino.sql.planner.plan that return types with arguments of type PlanNodeStatsEstimateConstructor parameters in io.trino.sql.planner.plan with type arguments of type PlanNodeStatsEstimateModifierConstructorDescriptionTableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, TupleDomain<ColumnHandle> enforcedConstraint, Optional<PlanNodeStatsEstimate> statistics, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) -
Uses of PlanNodeStatsEstimate in io.trino.sql.planner.planprinter
Methods in io.trino.sql.planner.planprinter that return types with arguments of type PlanNodeStatsEstimate