Package io.trino.sql.tree
Class ValueColumn
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.JsonTableColumnDefinition
io.trino.sql.tree.ValueColumn
-
Constructor Summary
ConstructorsConstructorDescriptionValueColumn(NodeLocation location, Identifier name, DataType type, Optional<StringLiteral> jsonPath, JsonValue.EmptyOrErrorBehavior emptyBehavior, Optional<Expression> emptyDefault, Optional<JsonValue.EmptyOrErrorBehavior> errorBehavior, Optional<Expression> errorDefault) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetName()getType()inthashCode()booleanshallowEquals(Node other) Compare with another node by considering internal state excluding any Node returned by getChildren()toString()Methods inherited from class io.trino.sql.tree.Node
getLocation
-
Constructor Details
-
ValueColumn
public ValueColumn(NodeLocation location, Identifier name, DataType type, Optional<StringLiteral> jsonPath, JsonValue.EmptyOrErrorBehavior emptyBehavior, Optional<Expression> emptyDefault, Optional<JsonValue.EmptyOrErrorBehavior> errorBehavior, Optional<Expression> errorDefault)
-
-
Method Details
-
getName
-
getType
-
getJsonPath
-
getEmptyBehavior
-
getEmptyDefault
-
getErrorBehavior
-
getErrorDefault
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
toString
-
equals
-
hashCode
public int hashCode() -
shallowEquals
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-