mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -50,6 +50,7 @@ public class SQLCreateFunctionStatement extends SQLStatementImpl implements SQLC
|
||||
private boolean aggregate;
|
||||
private SQLName using;
|
||||
private boolean pipelined;
|
||||
private boolean resultCache;
|
||||
|
||||
public SQLCreateFunctionStatement clone() {
|
||||
SQLCreateFunctionStatement x = new SQLCreateFunctionStatement();
|
||||
@@ -248,4 +249,12 @@ public class SQLCreateFunctionStatement extends SQLStatementImpl implements SQLC
|
||||
public void setPipelined(boolean pipelined) {
|
||||
this.pipelined = pipelined;
|
||||
}
|
||||
|
||||
public boolean isResultCache() {
|
||||
return resultCache;
|
||||
}
|
||||
|
||||
public void setResultCache(boolean resultCache) {
|
||||
this.resultCache = resultCache;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.alibaba.druid.sql.ast.statement;
|
||||
|
||||
import com.alibaba.druid.sql.ast.SQLStatementImpl;
|
||||
import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
||||
|
||||
public class SQLShowErrorsStatement extends SQLStatementImpl {
|
||||
@Override
|
||||
protected void accept0(SQLASTVisitor visitor) {
|
||||
visitor.visit(this);
|
||||
visitor.endVisit(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user