telepath / com.github.giedomak.telepath.costmodel / AdvancedCostModel

AdvancedCostModel

object AdvancedCostModel : CostModel (source)

This CostModel uses CPU cycles to calculate the cost of physical operators.

Functions

cost

fun cost(physicalPlan: PhysicalPlan): Long

Post-order-tree-walk to calculate the cost of the root bottom-up.