Package io.trino.sql.tree
Class RenameColumn
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.Statement
io.trino.sql.tree.RenameColumn
-
Constructor Summary
ConstructorsConstructorDescriptionRenameColumn(NodeLocation location, QualifiedName table, Identifier source, Identifier target, boolean tableExists, boolean columnExists) RenameColumn(QualifiedName table, Identifier source, Identifier target, boolean tableExists, boolean columnExists) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetTable()inthashCode()booleanbooleantoString()Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
Constructor Details
-
RenameColumn
public RenameColumn(QualifiedName table, Identifier source, Identifier target, boolean tableExists, boolean columnExists) -
RenameColumn
public RenameColumn(NodeLocation location, QualifiedName table, Identifier source, Identifier target, boolean tableExists, boolean columnExists)
-
-
Method Details
-
getTable
-
getSource
-
getTarget
-
isTableExists
public boolean isTableExists() -
isColumnExists
public boolean isColumnExists() -
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
equals
-
hashCode
public int hashCode() -
toString
-