Interface ApproximationDriver
- All Known Implementing Classes:
Approximation,ForkApproximation
public interface ApproximationDriver
Drives approximation subplan execution and substitutes sample probabilities into the main plan.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApproximationDrivercreate(LogicalPlan logicalPlan, ApproximationSettings settings) Builds an approximation driver for the logical plan.Returns the next subplan to execute for calibration, ornullif the main plan can run.newMainPlan(LogicalPlan mainPlan, Result result) Processes a subplan result and returns the main plan with placeholders substituted when this calibration step is complete.
-
Method Details
-
create
Builds an approximation driver for the logical plan. -
firstSubPlan
LogicalPlan firstSubPlan()Returns the next subplan to execute for calibration, ornullif the main plan can run. -
newMainPlan
Processes a subplan result and returns the main plan with placeholders substituted when this calibration step is complete.
-