mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
PageUtils SQL Server support
This commit is contained in:
+3
@@ -33,6 +33,9 @@ public class SQLServerSelectQueryBlock extends SQLSelectQueryBlock {
|
||||
}
|
||||
|
||||
public void setTop(SQLServerTop top) {
|
||||
if (top != null) {
|
||||
top.setParent(this);
|
||||
}
|
||||
this.top = top;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,12 +28,23 @@ public class SQLServerTop extends SQLServerObjectImpl {
|
||||
private SQLExpr expr;
|
||||
private boolean percent;
|
||||
private boolean withTies;
|
||||
|
||||
public SQLServerTop() {
|
||||
|
||||
}
|
||||
|
||||
public SQLServerTop(SQLExpr expr) {
|
||||
this.setExpr(expr);
|
||||
}
|
||||
|
||||
public SQLExpr getExpr() {
|
||||
return expr;
|
||||
}
|
||||
|
||||
public void setExpr(SQLExpr expr) {
|
||||
if (expr != null) {
|
||||
expr.setParent(this);
|
||||
}
|
||||
this.expr = expr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user