MCPcopy Create free account
hub / github.com/Nemo1870/sql-parse / LikeExpression

Class LikeExpression

src/main/java/com/sql/parse/model/LikeExpression.java:9–34  ·  view source on GitHub ↗

@date 2022/7/8 11:08 @desc LIKE

Source from the content-addressed store, hash-verified

7 * @desc LIKE
8 */
9public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected