Package io.trino.sql.tree
Class Use
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.Statement
-
- io.trino.sql.tree.Use
-
public final class Use extends Statement
-
-
Constructor Summary
Constructors Constructor Description Use(NodeLocation location, Optional<Identifier> catalog, Identifier schema)Use(Optional<Identifier> catalog, Identifier schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C context)Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleanequals(Object o)Optional<Identifier>getCatalog()List<Node>getChildren()IdentifiergetSchema()inthashCode()StringtoString()-
Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
-
-
-
Constructor Detail
-
Use
public Use(Optional<Identifier> catalog, Identifier schema)
-
Use
public Use(NodeLocation location, Optional<Identifier> catalog, Identifier schema)
-
-
Method Detail
-
getCatalog
public Optional<Identifier> getCatalog()
-
getSchema
public Identifier getSchema()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.
-
getChildren
public List<Node> getChildren()
- Specified by:
getChildrenin classNode
-
-