Package io.trino.sql.tree
Class SetRole
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.Statement
io.trino.sql.tree.SetRole
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSetRole(NodeLocation location, SetRole.Type type, Optional<Identifier> role, Optional<Identifier> catalog) SetRole(SetRole.Type type, Optional<Identifier> role, Optional<Identifier> catalog) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetRole()getType()inthashCode()toString()Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
Constructor Details
-
SetRole
-
SetRole
public SetRole(NodeLocation location, SetRole.Type type, Optional<Identifier> role, Optional<Identifier> catalog)
-
-
Method Details
-
getType
-
getRole
-
getCatalog
-
getChildren
- Specified by:
getChildrenin classNode
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
equals
-
hashCode
public int hashCode() -
toString
-