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