Class PatternQuantifier

java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.PatternQuantifier
Direct Known Subclasses:
OneOrMoreQuantifier, RangeQuantifier, ZeroOrMoreQuantifier, ZeroOrOneQuantifier

public abstract class PatternQuantifier extends Node
  • Constructor Details

  • Method Details

    • isGreedy

      public boolean isGreedy()
    • 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<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
    • shallowEquals

      public boolean shallowEquals(Node other)
      Description copied from class: Node
      Compare with another node by considering internal state excluding any Node returned by getChildren()
      Overrides:
      shallowEquals in class Node
    • toString

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