Package io.trino.sql.tree
Class JsonPathParameter
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.JsonPathParameter
-
public class JsonPathParameter extends Node
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonPathParameter.JsonFormat
-
Constructor Summary
Constructors Constructor Description JsonPathParameter(Optional<NodeLocation> location, Identifier name, Expression parameter, Optional<JsonPathParameter.JsonFormat> format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<? extends Node>getChildren()Optional<JsonPathParameter.JsonFormat>getFormat()IdentifiergetName()ExpressiongetParameter()inthashCode()booleanshallowEquals(Node other)Compare with another node by considering internal state excluding any Node returned by getChildren()StringtoString()-
Methods inherited from class io.trino.sql.tree.Node
accept, getLocation
-
-
-
-
Constructor Detail
-
JsonPathParameter
public JsonPathParameter(Optional<NodeLocation> location, Identifier name, Expression parameter, Optional<JsonPathParameter.JsonFormat> format)
-
-
Method Detail
-
getName
public Identifier getName()
-
getParameter
public Expression getParameter()
-
getFormat
public Optional<JsonPathParameter.JsonFormat> getFormat()
-
getChildren
public List<? extends Node> getChildren()
- Specified by:
getChildrenin classNode
-
shallowEquals
public boolean shallowEquals(Node other)
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-
-