Interface EstimatableCost
- All Known Implementing Classes:
DefaultEstimatableCost
public interface EstimatableCost
EstimatableCost defines an interface for optimizer cost in terms of
methods to estimate a PlanImplementation's cost.
-
Method Summary
Modifier and TypeMethodDescriptiongetEstimate(PlanImplementation plan, boolean isOverheadIncluded) getParallelEstimate(PlanImplementation plan, boolean isOverheadIncluded) getParallelOperatorJunctionAllCostEstimate(PlanImplementation plan, Operator operator) doublegetSquashedEstimate(PlanImplementation plan, boolean isOverheadIncluded) Returns a squashed cost estimate.doublegetSquashedParallelEstimate(PlanImplementation plan, boolean isOverheadIncluded) pickBestExecutionPlan(Collection<PlanImplementation> executionPlans, ExecutionPlan existingPlan, Set<Channel> openChannels, Set<ExecutionStage> executedStages)
-
Method Details
-
getFactory
EstimatableCostFactory getFactory() -
pickBestExecutionPlan
PlanImplementation pickBestExecutionPlan(Collection<PlanImplementation> executionPlans, ExecutionPlan existingPlan, Set<Channel> openChannels, Set<ExecutionStage> executedStages) -
getEstimate
-
getParallelEstimate
ProbabilisticDoubleInterval getParallelEstimate(PlanImplementation plan, boolean isOverheadIncluded) -
getSquashedEstimate
Returns a squashed cost estimate. -
getSquashedParallelEstimate
-
getParallelOperatorJunctionAllCostEstimate
Tuple<List<ProbabilisticDoubleInterval>,List<Double>> getParallelOperatorJunctionAllCostEstimate(PlanImplementation plan, Operator operator)
-