Class PostOptimizationPhasePlanVerifier<P extends QueryPlan<P>>

java.lang.Object
org.elasticsearch.xpack.esql.optimizer.PostOptimizationPhasePlanVerifier<P>
Direct Known Subclasses:
LogicalVerifier, PhysicalVerifier

public abstract class PostOptimizationPhasePlanVerifier<P extends QueryPlan<P>> extends Object
Verifies the plan after optimization. This is invoked immediately after a Plan Optimizer completes its work. Currently, it is called after LogicalPlanOptimizer, PhysicalPlanOptimizer, LocalLogicalPlanOptimizer, and LocalPhysicalPlanOptimizer. Note: Logical and Physical optimizers may override methods in this class to perform different checks.
  • Constructor Details

    • PostOptimizationPhasePlanVerifier

      public PostOptimizationPhasePlanVerifier()
  • Method Details

    • verify

      public Failures verify(P optimizedPlan, boolean skipRemoteEnrichVerification, List<Attribute> expectedOutputAttributes)
      Verifies the optimized plan