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, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) StatsCalculator.calculateStats(PlanNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) 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, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) ComposableStatsCalculator.Rule.calculate(T node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) OutputStatsRule.calculate(OutputNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) SemiJoinStatsRule.calculate(SemiJoinNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) final Optional<PlanNodeStatsEstimate>SimpleStatsRule.calculate(T node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) SortStatsRule.calculate(SortNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) ValuesStatsRule.calculate(ValuesNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>AggregationStatsRule.doCalculate(AggregationNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>EnforceSingleRowStatsRule.doCalculate(EnforceSingleRowNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>ExchangeStatsRule.doCalculate(ExchangeNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) FilterStatsRule.doCalculate(FilterNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>JoinStatsRule.doCalculate(JoinNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>LimitStatsRule.doCalculate(LimitNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>ProjectStatsRule.doCalculate(ProjectNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) RowNumberStatsRule.doCalculate(RowNumberNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>SampleStatsRule.doCalculate(SampleNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>SimpleFilterProjectSemiJoinStatsRule.doCalculate(FilterNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected abstract Optional<PlanNodeStatsEstimate>SimpleStatsRule.doCalculate(T node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>SpatialJoinStatsRule.doCalculate(SpatialJoinNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>TableScanStatsRule.doCalculate(TableScanNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>TopNStatsRule.doCalculate(TopNNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected final Optional<PlanNodeStatsEstimate>UnionStatsRule.doCalculate(UnionNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) 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 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.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