public SQLKeep clone() { SQLKeep x = new SQLKeep(); x.denseRank = denseRank; if (orderBy != null) { x.setOrderBy(orderBy.clone()); } return x; }
public MySqlDeleteStatement clone() { MySqlDeleteStatement x = new MySqlDeleteStatement(); cloneTo(x); x.lowPriority = lowPriority; x.quick = quick; x.ignore = ignore; if (using != null) { x.setUsing(using.clone()); } if (orderBy != null) { x.setOrderBy(orderBy.clone()); } if (limit != null) { x.setLimit(limit.clone()); } return x; }
public SQLUnionQuery clone() { SQLUnionQuery x = new SQLUnionQuery(); x.bracket = bracket; if (left != null) { x.setLeft(left.clone()); } if (right != null) { x.setRight(right.clone()); } x.operator = operator; if (orderBy != null) { x.setOrderBy(orderBy.clone()); } if (limit != null) { x.setLimit(limit.clone()); } x.dbType = dbType; return x; }
x.setOrderBy(this.orderBy.clone());
public void cloneTo(SQLOver x) { for (SQLExpr item : partitionBy) { SQLExpr item1 = item.clone(); item1.setParent(x); x.partitionBy.add(item); } if (orderBy != null) { x.setOrderBy(orderBy.clone()); } if (of != null) { x.setOf(of.clone()); } if (windowing != null) { x.setWindowing(windowing.clone()); } x.windowingType = windowingType; x.windowingPreceding = windowingPreceding; x.windowingFollowing = windowingFollowing; if (windowingBetweenBegin != null) { x.setWindowingBetweenBegin(windowingBetweenBegin.clone()); } x.windowingBetweenBeginPreceding = windowingBetweenBeginPreceding; x.windowingBetweenBeginFollowing = windowingBetweenBeginFollowing; if (windowingBetweenEnd != null) { x.setWindowingBetweenEnd(windowingBetweenEnd.clone()); } x.windowingBetweenEndPreceding = windowingBetweenEndPreceding; x.windowingBetweenEndFollowing = windowingBetweenEndFollowing; }
public SQLAggregateExpr clone() { SQLAggregateExpr x = new SQLAggregateExpr(methodName); x.option = option; for (SQLExpr arg : arguments) { x.addArgument(arg.clone()); } if (keep != null) { x.setKeep(keep.clone()); } if (filter != null) { x.setFilter(filter.clone()); } if (over != null) { x.setOver(over.clone()); } if (overRef != null) { x.setOverRef(overRef.clone()); } if (withinGroup != null) { x.setWithinGroup(withinGroup.clone()); } x.ignoreNulls = ignoreNulls; return x; }
public SQLKeep clone() { SQLKeep x = new SQLKeep(); x.denseRank = denseRank; if (orderBy != null) { x.setOrderBy(orderBy.clone()); } return x; }
public MySqlDeleteStatement clone() { MySqlDeleteStatement x = new MySqlDeleteStatement(); cloneTo(x); x.lowPriority = lowPriority; x.quick = quick; x.ignore = ignore; if (using != null) { x.setUsing(using.clone()); } if (orderBy != null) { x.setOrderBy(orderBy.clone()); } if (limit != null) { x.setLimit(limit.clone()); } return x; }
x.setOrderBy(this.orderBy.clone());
public SQLUnionQuery clone() { SQLUnionQuery x = new SQLUnionQuery(); x.bracket = bracket; if (left != null) { x.setLeft(left.clone()); } if (right != null) { x.setRight(right.clone()); } x.operator = operator; if (orderBy != null) { x.setOrderBy(orderBy.clone()); } if (limit != null) { x.setLimit(limit.clone()); } x.dbType = dbType; return x; }
public void cloneTo(SQLOver x) { for (SQLExpr item : partitionBy) { SQLExpr item1 = item.clone(); item1.setParent(x); x.partitionBy.add(item); } if (orderBy != null) { x.setOrderBy(orderBy.clone()); } if (of != null) { x.setOf(of.clone()); } if (windowing != null) { x.setWindowing(windowing.clone()); } x.windowingType = windowingType; x.windowingPreceding = windowingPreceding; x.windowingFollowing = windowingFollowing; if (windowingBetweenBegin != null) { x.setWindowingBetweenBegin(windowingBetweenBegin.clone()); } x.windowingBetweenBeginPreceding = windowingBetweenBeginPreceding; x.windowingBetweenBeginFollowing = windowingBetweenBeginFollowing; if (windowingBetweenEnd != null) { x.setWindowingBetweenEnd(windowingBetweenEnd.clone()); } x.windowingBetweenEndPreceding = windowingBetweenEndPreceding; x.windowingBetweenEndFollowing = windowingBetweenEndFollowing; }
public SQLAggregateExpr clone() { SQLAggregateExpr x = new SQLAggregateExpr(methodName); x.option = option; for (SQLExpr arg : arguments) { x.addArgument(arg.clone()); } if (keep != null) { x.setKeep(keep.clone()); } if (filter != null) { x.setFilter(filter.clone()); } if (over != null) { x.setOver(over.clone()); } if (overRef != null) { x.setOverRef(overRef.clone()); } if (withinGroup != null) { x.setWithinGroup(withinGroup.clone()); } x.ignoreNulls = ignoreNulls; return x; }