improve sql-wal

This commit is contained in:
wenshao
2013-08-25 09:43:58 +08:00
parent 0526585337
commit 1533ecad26
31 changed files with 579 additions and 85 deletions
@@ -52,12 +52,6 @@ public class SQLUnaryExpr extends SQLExprImpl implements Serializable {
this.expr = expr;
}
@Override
public void output(StringBuffer buf) {
buf.append(" NOT ");
this.expr.output(buf);
}
protected void accept0(SQLASTVisitor visitor) {
if (visitor.visit(this)) {
acceptChild(visitor, this.expr);
@@ -30,7 +30,7 @@ public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElemen
protected SQLDataType dataType;
protected SQLExpr defaultExpr;
protected final List<SQLColumnConstraint> constaints = new ArrayList<SQLColumnConstraint>(0);
protected String comment;
protected SQLExpr comment;
protected Boolean enable;
@@ -99,11 +99,11 @@ public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElemen
visitor.endVisit(this);
}
public String getComment() {
public SQLExpr getComment() {
return comment;
}
public void setComment(String comment) {
public void setComment(SQLExpr comment) {
this.comment = comment;
}