Skip to content


Explain is a Statement.

Creating Instance

Explain takes the following to be created:

  • Node Location (in a SQL text)
  • Query ID
  • Statement

Explain is created when:

  • AstBuilder.Visitor is requested to parse EXPLAIN statement
  • StatementRewriter.Rewriter is requested to visitExplain


R accept(
  AstVisitor<R, C> visitor,
  C context)

accept requests the given AstVisitor to visitExplain.

accept is part of the Statement abstraction.