Package io.prestosql.sql.tree
Class Use
- java.lang.Object
-
- io.prestosql.sql.tree.Node
-
- io.prestosql.sql.tree.Statement
-
- io.prestosql.sql.tree.Use
-
public final class Use extends Statement
-
-
Constructor Summary
Constructors Constructor Description Use(NodeLocation location, java.util.Optional<Identifier> catalog, Identifier schema)Use(java.util.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(java.lang.Object o)java.util.Optional<Identifier>getCatalog()java.util.List<Node>getChildren()IdentifiergetSchema()inthashCode()java.lang.StringtoString()-
Methods inherited from class io.prestosql.sql.tree.Node
getLocation
-
-
-
-
Constructor Detail
-
Use
public Use(java.util.Optional<Identifier> catalog, Identifier schema)
-
Use
public Use(NodeLocation location, java.util.Optional<Identifier> catalog, Identifier schema)
-
-
Method Detail
-
getCatalog
public java.util.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 java.util.List<Node> getChildren()
- Specified by:
getChildrenin classNode
-
-