Package io.trino.cost
Class StatsAndCosts
java.lang.Object
io.trino.cost.StatsAndCosts
-
Constructor Summary
ConstructorsConstructorDescriptionStatsAndCosts(Map<PlanNodeId, PlanNodeStatsEstimate> stats, Map<PlanNodeId, PlanCostEstimate> costs) -
Method Summary
Modifier and TypeMethodDescriptionstatic StatsAndCostsstatic StatsAndCostscreate(PlanNode root, StatsProvider statsProvider, CostProvider costProvider) static StatsAndCostsempty()getCosts()getForSubplan(PlanNode root) getStats()
-
Constructor Details
-
StatsAndCosts
public StatsAndCosts(Map<PlanNodeId, PlanNodeStatsEstimate> stats, Map<PlanNodeId, PlanCostEstimate> costs)
-
-
Method Details
-
empty
-
getStats
-
getCosts
-
getForSubplan
-
create
public static StatsAndCosts create(PlanNode root, StatsProvider statsProvider, CostProvider costProvider) -
create
-