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