mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
sql parser refactor
This commit is contained in:
@@ -26,10 +26,12 @@ public class SQLVariantRefExpr extends SQLExprImpl {
|
||||
|
||||
private boolean global = false;
|
||||
|
||||
private int index = -1;
|
||||
|
||||
public SQLVariantRefExpr(String name){
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
public SQLVariantRefExpr(String name, boolean global){
|
||||
this.name = name;
|
||||
this.global = global;
|
||||
@@ -39,6 +41,14 @@ public class SQLVariantRefExpr extends SQLExprImpl {
|
||||
|
||||
}
|
||||
|
||||
public int getIndex() {
|
||||
return index;
|
||||
}
|
||||
|
||||
public void setIndex(int index) {
|
||||
this.index = index;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user