Package io.trino.sql.tree
Class Prepare
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.Statement
-
- io.trino.sql.tree.Prepare
-
public class Prepare extends Statement
-
-
Constructor Summary
Constructors Constructor Description Prepare(Identifier name, Statement statement)Prepare(NodeLocation location, Identifier name, Statement statement)
-
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.booleanequals(Object obj)List<Node>getChildren()IdentifiergetName()StatementgetStatement()inthashCode()StringtoString()-
Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
-
-
-
Constructor Detail
-
Prepare
public Prepare(NodeLocation location, Identifier name, Statement statement)
-
Prepare
public Prepare(Identifier name, Statement statement)
-
-
Method Detail
-
getName
public Identifier getName()
-
getStatement
public Statement getStatement()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.
-
getChildren
public List<Node> getChildren()
- Specified by:
getChildrenin classNode
-
-