Class VariableDeclaration
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.ControlStatement
io.trino.sql.tree.VariableDeclaration
-
Constructor Summary
ConstructorsConstructorDescriptionVariableDeclaration(NodeLocation location, List<Identifier> names, DataType type, Optional<Expression> defaultValue) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetNames()getType()inthashCode()toString()Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
Constructor Details
-
VariableDeclaration
public VariableDeclaration(NodeLocation location, List<Identifier> names, DataType type, Optional<Expression> defaultValue)
-
-
Method Details
-
getNames
-
getType
-
getDefaultValue
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
equals
-
hashCode
-
toString
-