Package io.trino.sql.tree
Class CreateTable
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.Statement
io.trino.sql.tree.CreateTable
-
Constructor Summary
ConstructorsConstructorDescriptionCreateTable(NodeLocation location, QualifiedName name, List<TableElement> elements, boolean notExists, List<Property> properties, Optional<String> comment) CreateTable(QualifiedName name, List<TableElement> elements, boolean notExists, List<Property> properties, Optional<String> comment) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetName()inthashCode()booleantoString()Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
Constructor Details
-
CreateTable
public CreateTable(QualifiedName name, List<TableElement> elements, boolean notExists, List<Property> properties, Optional<String> comment) -
CreateTable
public CreateTable(NodeLocation location, QualifiedName name, List<TableElement> elements, boolean notExists, List<Property> properties, Optional<String> comment)
-
-
Method Details
-
getName
-
getElements
-
isNotExists
public boolean isNotExists() -
getProperties
-
getComment
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
hashCode
public int hashCode() -
equals
-
toString
-