Package io.prestosql.cost
Class StatsAndCosts
- java.lang.Object
-
- io.prestosql.cost.StatsAndCosts
-
public class StatsAndCosts extends Object
-
-
Constructor Summary
Constructors Constructor Description StatsAndCosts(Map<PlanNodeId,PlanNodeStatsEstimate> stats, Map<PlanNodeId,PlanCostEstimate> costs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatsAndCosts
create(StageInfo stageInfo)
static StatsAndCosts
create(PlanNode root, StatsProvider statsProvider, CostProvider costProvider)
static StatsAndCosts
empty()
Map<PlanNodeId,PlanCostEstimate>
getCosts()
StatsAndCosts
getForSubplan(PlanNode root)
Map<PlanNodeId,PlanNodeStatsEstimate>
getStats()
-
-
-
Constructor Detail
-
StatsAndCosts
public StatsAndCosts(Map<PlanNodeId,PlanNodeStatsEstimate> stats, Map<PlanNodeId,PlanCostEstimate> costs)
-
-
Method Detail
-
empty
public static StatsAndCosts empty()
-
getStats
public Map<PlanNodeId,PlanNodeStatsEstimate> getStats()
-
getCosts
public Map<PlanNodeId,PlanCostEstimate> getCosts()
-
getForSubplan
public StatsAndCosts getForSubplan(PlanNode root)
-
create
public static StatsAndCosts create(PlanNode root, StatsProvider statsProvider, CostProvider costProvider)
-
create
public static StatsAndCosts create(StageInfo stageInfo)
-
-