public void cloneTo(SQLSubqueryTableSource x) { x.alias = alias; if (select != null) { x.select = select.clone(); } }
public SQLQueryExpr clone() { SQLQueryExpr x = new SQLQueryExpr(); if (subQuery != null) { x.setSubQuery(subQuery.clone()); } return x; }
public SQLAllExpr clone() { SQLAllExpr x = new SQLAllExpr(); if (subQuery != null) { x.setSubQuery(subQuery.clone()); } return x; }
public OracleCursorExpr clone() { OracleCursorExpr x = new OracleCursorExpr(); if (query != null) { x.setQuery(query.clone()); } return x; }
public SQLExistsExpr clone () { SQLExistsExpr x = new SQLExistsExpr(); x.not = not; if (subQuery != null) { x.setSubQuery(subQuery.clone()); } return x; } }
public SQLSomeExpr clone() { SQLSomeExpr x = new SQLSomeExpr(); if (subQuery != null) { x.setSubQuery(subQuery.clone()); } return x; }
public SQLAnyExpr clone() { SQLAnyExpr x = new SQLAnyExpr(); if (subQuery != null) { x.setSubQuery(subQuery.clone()); } return x; }
public SQLSelectStatement clone() { SQLSelectStatement x = new SQLSelectStatement(); if (select != null) { x.setSelect(select.clone()); } if (headHints != null) { for (SQLCommentHint h : headHints) { SQLCommentHint h2 = h.clone(); h2.setParent(x); x.headHints.add(h2); } } return x; }
public void cloneTo(Entry x) { for (SQLName column : columns) { SQLName column2 = column.clone(); column2.setParent(x); x.columns.add(column2); } if (subQuery != null) { x.setSubQuery(subQuery.clone()); } if (returningStatement != null) { setReturningStatement(returningStatement.clone()); } }
public SQLInSubQueryExpr clone() { SQLInSubQueryExpr x = new SQLInSubQueryExpr(); x.not = not; if (expr != null) { x.setExpr(expr.clone()); } if (subQuery != null) { x.setSubQuery(subQuery.clone()); } return x; }
public void cloneTo(SQLInsertInto x) { if (tableSource != null) { x.setTableSource(tableSource.clone()); } for (SQLExpr column : columns) { SQLExpr column2 = column.clone(); column2.setParent(x); x.columns.add(column2); } if (query != null) { x.setQuery(query.clone()); } for (ValuesClause v : valuesList) { ValuesClause v2 = v.clone(); v2.setParent(x); x.valuesList.add(v2); } }
public void cloneTo(SQLCreateTableStatement x) { x.ifNotExiists = ifNotExiists; x.type = type; if (tableSource != null) { x.setTableSource(tableSource.clone()); } for (SQLTableElement e : tableElementList) { SQLTableElement e2 = e.clone(); e2.setParent(x); x.tableElementList.add(e2); } if (inherits != null) { x.setInherits(inherits.clone()); } if (select != null) { x.setSelect(select.clone()); } if (comment != null) { x.setComment(comment.clone()); } x.onCommitPreserveRows = onCommitPreserveRows; x.onCommitDeleteRows = onCommitDeleteRows; if (tableOptions != null) { for (Map.Entry<String, SQLObject> entry : tableOptions.entrySet()) { SQLObject entryVal = entry.getValue().clone(); x.tableOptions.put(entry.getKey(), entryVal); } } }
x.force = force; if (subQuery != null) { x.setSubQuery(subQuery.clone());
x.setSubQuery(subQuery.clone());
countQueryBlock.getSelectList().add(new SQLSelectItem(new SQLAllColumnExpr())); countQueryBlock.setFrom(new SQLSubqueryTableSource(select.clone(), "XX")); countQueryBlock.getSelectList().add(new SQLSelectItem(aggregateExpr, "ROWNUM")); countQueryBlock.setFrom(new SQLSubqueryTableSource(select.clone(), "XX"));
countQueryBlock.getSelectList().add(new SQLSelectItem(new SQLAllColumnExpr())); countQueryBlock.setFrom(new SQLSubqueryTableSource(select.clone(), "XX")); countQueryBlock.getSelectList().add(new SQLSelectItem(new SQLPropertyExpr(new SQLIdentifierExpr("XX"), "*"))); countQueryBlock.setFrom(new SQLSubqueryTableSource(select.clone(), "XX"));
countQueryBlock.getSelectList().add(new SQLSelectItem(new SQLIdentifierExpr("ROWNUM"), "RN")); countQueryBlock.setFrom(new SQLSubqueryTableSource(select.clone(), "XX")); countQueryBlock.setWhere(new SQLBinaryOpExpr(new SQLIdentifierExpr("ROWNUM"), //
public SQLQueryExpr clone() { SQLQueryExpr x = new SQLQueryExpr(); if (subQuery != null) { x.setSubQuery(subQuery.clone()); } return x; }
public SQLSomeExpr clone() { SQLSomeExpr x = new SQLSomeExpr(); if (subQuery != null) { x.setSubQuery(subQuery.clone()); } return x; }
public SQLInSubQueryExpr clone() { SQLInSubQueryExpr x = new SQLInSubQueryExpr(); x.not = not; if (expr != null) { x.setExpr(expr.clone()); } if (subQuery != null) { x.setSubQuery(subQuery.clone()); } return x; }