@date 2022/7/8 16:25 @desc RegexpExpression
| 7 | * @desc RegexpExpression |
| 8 | */ |
| 9 | public class RegexpExpression extends Expression { |
| 10 | private boolean useRLike; |
| 11 | |
| 12 | private String leftExpression; |
| 13 | |
| 14 | private String rightExpression; |
| 15 | |
| 16 | public RegexpExpression(String expression, boolean useRLike, String leftExpression, String rightExpression) { |
| 17 | super(expression, OperatorTypeEnum.REGEXP); |
| 18 | this.useRLike = useRLike; |
| 19 | this.leftExpression = leftExpression; |
| 20 | this.rightExpression = rightExpression; |
| 21 | } |
| 22 | |
| 23 | public boolean isUseRLike() { |
| 24 | return useRLike; |
| 25 | } |
| 26 | |
| 27 | public String getLeftExpression() { |
| 28 | return leftExpression; |
| 29 | } |
| 30 | |
| 31 | public String getRightExpression() { |
| 32 | return rightExpression; |
| 33 | } |
| 34 | } |
nothing calls this directly
no outgoing calls
no test coverage detected