Package io.trino.sql.tree
Class Property
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.Property
-
Constructor Summary
ConstructorsConstructorDescriptionProperty(Identifier name) Constructs an instance representing a property whose value is set to DEFAULTProperty(Identifier name, Expression value) Property(NodeLocation location, Identifier name) Constructs an instance representing a property whose value is set to DEFAULTProperty(NodeLocation location, Identifier name, Expression value) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetName()Returns the non-default value of the property.inthashCode()booleantoString()Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
Constructor Details
-
Property
Constructs an instance representing a property whose value is set to DEFAULT -
Property
Constructs an instance representing a property whose value is set to DEFAULT -
Property
-
Property
-
-
Method Details
-
getName
-
isSetToDefault
public boolean isSetToDefault() -
getNonDefaultValue
Returns the non-default value of the property. This method should be called only if the property is not set to DEFAULT. -
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
equals
-
hashCode
public int hashCode() -
toString
-