Package io.trino.sql.tree
Class RangeQuantifier
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.PatternQuantifier
-
- io.trino.sql.tree.RangeQuantifier
-
public class RangeQuantifier extends PatternQuantifier
-
-
Constructor Summary
Constructors Constructor Description RangeQuantifier(boolean greedy, Optional<LongLiteral> atLeast, Optional<LongLiteral> atMost)RangeQuantifier(NodeLocation location, boolean greedy, Optional<LongLiteral> atLeast, Optional<LongLiteral> atMost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C context)Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleanequals(Object obj)Optional<LongLiteral>getAtLeast()Optional<LongLiteral>getAtMost()List<Node>getChildren()inthashCode()StringtoString()-
Methods inherited from class io.trino.sql.tree.PatternQuantifier
isGreedy, shallowEquals
-
Methods inherited from class io.trino.sql.tree.Node
getLocation
-
-
-
-
Constructor Detail
-
RangeQuantifier
public RangeQuantifier(boolean greedy, Optional<LongLiteral> atLeast, Optional<LongLiteral> atMost)
-
RangeQuantifier
public RangeQuantifier(NodeLocation location, boolean greedy, Optional<LongLiteral> atLeast, Optional<LongLiteral> atMost)
-
-
Method Detail
-
getAtLeast
public Optional<LongLiteral> getAtLeast()
-
getAtMost
public Optional<LongLiteral> getAtMost()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.- Overrides:
acceptin classPatternQuantifier
-
getChildren
public List<Node> getChildren()
- Overrides:
getChildrenin classPatternQuantifier
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classPatternQuantifier
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPatternQuantifier
-
toString
public String toString()
- Overrides:
toStringin classPatternQuantifier
-
-