telepath / com.github.giedomak.telepath.costmodel / CostModel

CostModel

interface CostModel (source)

Functions

cost

abstract fun cost(physicalPlan: PhysicalPlan): Long

Inheritors

AdvancedCostModel

object AdvancedCostModel : CostModel

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

SimpleCostModel

object SimpleCostModel : CostModel