Class CFRBasedCostFunctionForPlan

java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.costmodel.CFRBasedCostFunctionForPlan
All Implemented Interfaces:
CostFunctionForPlan
Direct Known Subclasses:
CFRBasedParallelismCostFunctionForPlan

public class CFRBasedCostFunctionForPlan extends Object implements CostFunctionForPlan
Generic implementation of CostFunctionForPlan that can be used for any cost function that is defined as the sum of operator-specific cost values for all operators in the plan. This implementation uses recursion to first determine the cost values for subplans, and to determines the operator-specific cost values the implementation uses a CostFunctionForRootOp.