Class IrQuantifier
- java.lang.Object
-
- io.trino.sql.planner.rowpattern.ir.IrQuantifier
-
public class IrQuantifier extends Object
-
-
Constructor Summary
Constructors Constructor Description IrQuantifier(int atLeast, Optional<Integer> atMost, boolean greedy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetAtLeast()Optional<Integer>getAtMost()inthashCode()booleanisGreedy()static IrQuantifieroneOrMore(boolean greedy)static IrQuantifierrange(Optional<Integer> atLeast, Optional<Integer> atMost, boolean greedy)StringtoString()static IrQuantifierzeroOrMore(boolean greedy)static IrQuantifierzeroOrOne(boolean greedy)
-
-
-
Method Detail
-
zeroOrMore
public static IrQuantifier zeroOrMore(boolean greedy)
-
oneOrMore
public static IrQuantifier oneOrMore(boolean greedy)
-
zeroOrOne
public static IrQuantifier zeroOrOne(boolean greedy)
-
range
public static IrQuantifier range(Optional<Integer> atLeast, Optional<Integer> atMost, boolean greedy)
-
getAtLeast
public int getAtLeast()
-
isGreedy
public boolean isGreedy()
-
-