Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PlanConsumer
Callback that receives one query's physical plan, rendered as text.

Used by QueryExecutor.explain(com.darkcollective.relix.semantic.SemanticModel, com.darkcollective.relix.processor.internal.PlanConsumer) to hand each query statement's physical plan to the caller (e.g. the CLI's --explain output) without the caller needing to depend on the physical-plan types directly.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(String label, String planText)
    Consumes one query's rendered physical plan.
  • Method Details

    • accept

      void accept(String label, String planText)
      Consumes one query's rendered physical plan.
      Parameters:
      label - the query's display label (relation name or "<expression N>")
      planText - the multi-line ASCII rendering of the physical plan