add db2 PageUtils support

This commit is contained in:
wenshao
2013-07-26 01:01:58 +08:00
parent 89f1106e34
commit 9722e3aeea
19 changed files with 538 additions and 14 deletions
@@ -26,6 +26,14 @@ public class SQLOver extends SQLObjectImpl {
protected final List<SQLExpr> partitionBy = new ArrayList<SQLExpr>();
protected SQLOrderBy orderBy;
public SQLOver() {
}
public SQLOver(SQLOrderBy orderBy) {
this.setOrderBy(orderBy);
}
@Override
protected void accept0(SQLASTVisitor visitor) {
@@ -41,6 +49,9 @@ public class SQLOver extends SQLObjectImpl {
}
public void setOrderBy(SQLOrderBy orderBy) {
if (orderBy != null) {
orderBy.setParent(this);
}
this.orderBy = orderBy;
}