Package io.trino.sql.tree
Class Explain
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.Statement
-
- io.trino.sql.tree.Explain
-
public class Explain extends Statement
-
-
Constructor Summary
Constructors Constructor Description Explain(NodeLocation location, boolean analyze, boolean verbose, Statement statement, List<ExplainOption> options)
Explain(Statement statement, boolean analyze, boolean verbose, List<ExplainOption> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C context)
Accessible forAstVisitor
, useAstVisitor.process(Node, Object)
instead.boolean
equals(Object obj)
List<Node>
getChildren()
List<ExplainOption>
getOptions()
Statement
getStatement()
int
hashCode()
boolean
isAnalyze()
boolean
isVerbose()
String
toString()
-
Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
-
-
-
Constructor Detail
-
Explain
public Explain(Statement statement, boolean analyze, boolean verbose, List<ExplainOption> options)
-
Explain
public Explain(NodeLocation location, boolean analyze, boolean verbose, Statement statement, List<ExplainOption> options)
-
-
Method Detail
-
getStatement
public Statement getStatement()
-
isAnalyze
public boolean isAnalyze()
-
isVerbose
public boolean isVerbose()
-
getOptions
public List<ExplainOption> getOptions()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:Node
Accessible forAstVisitor
, useAstVisitor.process(Node, Object)
instead.
-
getChildren
public List<Node> getChildren()
- Specified by:
getChildren
in classNode
-
-