@ThreadSafe public interface CostCalculator
Modifier and Type | Interface and Description |
---|---|
static interface |
CostCalculator.EstimatedExchanges |
Modifier and Type | Method and Description |
---|---|
PlanNodeCostEstimate |
calculateCost(PlanNode node,
StatsProvider stats,
Session session,
TypeProvider types)
Calculates non-cumulative cost of a node.
|
PlanNodeCostEstimate calculateCost(PlanNode node, StatsProvider stats, Session session, TypeProvider types)
node
- The node to compute cost for.stats
- The stats provider for node's stats and child nodes' stats, to be used if stats are needed to compute cost for the node
Copyright © 2012–2019. All rights reserved.