mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add exection sorter test
This commit is contained in:
@@ -30,17 +30,21 @@ public class SQLCreateIndexStatement extends SQLStatementImpl implements SQLDDLS
|
||||
|
||||
private SQLName name;
|
||||
|
||||
private SQLName table;
|
||||
private SQLTableSource table;
|
||||
|
||||
private List<SQLSelectOrderByItem> items = new ArrayList<SQLSelectOrderByItem>();
|
||||
|
||||
private String type;
|
||||
|
||||
public SQLName getTable() {
|
||||
public SQLTableSource getTable() {
|
||||
return table;
|
||||
}
|
||||
|
||||
|
||||
public void setTable(SQLName table) {
|
||||
this.setTable(new SQLExprTableSource(table));
|
||||
}
|
||||
|
||||
public void setTable(SQLTableSource table) {
|
||||
this.table = table;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
||||
|
||||
public class SQLDropIndexStatement extends SQLStatementImpl implements SQLDDLStatement {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private SQLExpr indexName;
|
||||
private SQLExpr tableName;
|
||||
private SQLExpr indexName;
|
||||
private SQLExprTableSource tableName;
|
||||
|
||||
public SQLExpr getIndexName() {
|
||||
return indexName;
|
||||
@@ -34,11 +34,15 @@ public class SQLDropIndexStatement extends SQLStatementImpl implements SQLDDLSta
|
||||
this.indexName = indexName;
|
||||
}
|
||||
|
||||
public SQLExpr getTableName() {
|
||||
public SQLExprTableSource getTableName() {
|
||||
return tableName;
|
||||
}
|
||||
|
||||
public void setTableName(SQLExpr tableName) {
|
||||
this.setTableName(new SQLExprTableSource(tableName));
|
||||
}
|
||||
|
||||
public void setTableName(SQLExprTableSource tableName) {
|
||||
this.tableName = tableName;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user