Package io.trino.sql.tree
Class ColumnDefinition
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.TableElement
io.trino.sql.tree.ColumnDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionColumnDefinition(Identifier name, DataType type, boolean nullable, List<Property> properties, Optional<String> comment) ColumnDefinition(NodeLocation location, Identifier name, DataType type, boolean nullable, 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()getType()inthashCode()booleantoString()Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
Constructor Details
-
ColumnDefinition
-
ColumnDefinition
public ColumnDefinition(NodeLocation location, Identifier name, DataType type, boolean nullable, List<Property> properties, Optional<String> comment)
-
-
Method Details
-
getName
-
getType
-
isNullable
public boolean isNullable() -
getProperties
-
getComment
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.- Overrides:
acceptin classTableElement
-
getChildren
- Specified by:
getChildrenin classNode
-
equals
-
hashCode
public int hashCode() -
toString
-