Interface CostFunctionForPlan
- All Known Implementing Classes:
 CFRBasedCostFunctionForPlan,CFRBasedParallelismCostFunctionForPlan
public interface CostFunctionForPlan
Implementations of this interface represent functions that determine
 some form of cost value for any given (physical) query plan.
- 
Method Summary
Modifier and TypeMethodDescriptioninitiateCostEstimation(Set<PhysicalPlan> visitedPlans, PhysicalPlan plan) A function for estimating the cost of a plan. 
- 
Method Details
- 
initiateCostEstimation
CompletableFuture<Integer> initiateCostEstimation(Set<PhysicalPlan> visitedPlans, PhysicalPlan plan) A function for estimating the cost of a plan.- Parameters:
 visitedPlans- : Record a set of sub-plans (of plan) that have been visited during the cost estimation. This set can be used for checking if a subplan has been visited or not.
 
 -