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
-
Constructor Summary
ConstructorsConstructorDescriptionRangeQuantifier(boolean greedy, Optional<LongLiteral> atLeast, Optional<LongLiteral> atMost) RangeQuantifier(NodeLocation location, boolean greedy, Optional<LongLiteral> atLeast, Optional<LongLiteral> atMost) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleaninthashCode()toString()Methods inherited from class io.trino.sql.tree.PatternQuantifier
isGreedy, shallowEqualsMethods inherited from class io.trino.sql.tree.Node
getLocation
-
Constructor Details
-
RangeQuantifier
-
RangeQuantifier
public RangeQuantifier(NodeLocation location, boolean greedy, Optional<LongLiteral> atLeast, Optional<LongLiteral> atMost)
-
-
Method Details
-
getAtLeast
-
getAtMost
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.- Overrides:
acceptin classPatternQuantifier
-
getChildren
- Overrides:
getChildrenin classPatternQuantifier
-
equals
- Overrides:
equalsin classPatternQuantifier
-
hashCode
public int hashCode()- Overrides:
hashCodein classPatternQuantifier
-
toString
- Overrides:
toStringin classPatternQuantifier
-