Class Property

java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.Property

public class Property extends Node
  • Constructor Details

  • Method Details

    • getName

      public Identifier getName()
    • isSetToDefault

      public boolean isSetToDefault()
    • getNonDefaultValue

      public Expression getNonDefaultValue()
      Returns the non-default value of the property. This method should be called only if the property is not set to DEFAULT.
    • accept

      public <R, C> R accept(AstVisitor<R,C> visitor, C context)
      Description copied from class: Node
      Accessible for AstVisitor, use AstVisitor.process(Node, Object) instead.
      Overrides:
      accept in class Node
    • getChildren

      public List<? extends Node> getChildren()
      Specified by:
      getChildren in class Node
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class Node
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class Node
    • toString

      public String toString()
      Specified by:
      toString in class Node