Interface PlanConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
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
-
Method Details
-
accept
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
-