Interface ApproximationDriver

All Known Implementing Classes:
Approximation, ForkApproximation

public interface ApproximationDriver
Drives approximation subplan execution and substitutes sample probabilities into the main plan.
  • Method Details

    • create

      static ApproximationDriver create(LogicalPlan logicalPlan, ApproximationSettings settings)
      Builds an approximation driver for the logical plan.
    • firstSubPlan

      LogicalPlan firstSubPlan()
      Returns the next subplan to execute for calibration, or null if the main plan can run.
    • newMainPlan

      LogicalPlan newMainPlan(LogicalPlan mainPlan, Result result)
      Processes a subplan result and returns the main plan with placeholders substituted when this calibration step is complete.