Package io.trino.sql.tree
Class PathElement
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.PathElement
-
public final class PathElement extends Node
-
-
Constructor Summary
Constructors Constructor Description PathElement(NodeLocation location, Identifier schema)PathElement(NodeLocation location, Identifier catalog, Identifier schema)PathElement(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 obj)Optional<Identifier>getCatalog()List<Node>getChildren()IdentifiergetSchema()inthashCode()StringtoString()-
Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
-
-
-
Constructor Detail
-
PathElement
public PathElement(NodeLocation location, Identifier schema)
-
PathElement
public PathElement(Optional<Identifier> catalog, Identifier schema)
-
PathElement
public PathElement(NodeLocation location, 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
-
-