Package io.prestosql.sql.tree
Class PathElement
- java.lang.Object
-
- io.prestosql.sql.tree.Node
-
- io.prestosql.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(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 obj)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
-
PathElement
public PathElement(NodeLocation location, Identifier schema)
-
PathElement
public PathElement(java.util.Optional<Identifier> catalog, Identifier schema)
-
PathElement
public PathElement(NodeLocation location, 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
-
-