improve parser ddl support

This commit is contained in:
wenshao
2013-03-23 22:38:16 +08:00
parent cc2e9793fa
commit 8ae7a29ca6
15 changed files with 248 additions and 21 deletions
@@ -26,6 +26,7 @@ import com.alibaba.druid.sql.visitor.SQLASTVisitor;
public class SQLCreateViewStatement extends SQLStatementImpl implements SQLDDLStatement {
private static final long serialVersionUID = 1L;
private boolean orReplace = false;
protected SQLName name;
protected SQLSelect subQuery;
@@ -37,6 +38,14 @@ public class SQLCreateViewStatement extends SQLStatementImpl implements SQLDDLSt
}
public boolean isOrReplace() {
return orReplace;
}
public void setOrReplace(boolean orReplace) {
this.orReplace = orReplace;
}
public SQLName getName() {
return name;
}