Beispiel #1
0
 @Override
 public QueryStmt clone() {
   SelectStmt selectClone =
       new SelectStmt(
           selectList_.clone(),
           cloneTableRefs(),
           (whereClause_ != null) ? whereClause_.clone(null) : null,
           (groupingExprs_ != null) ? Expr.cloneList(groupingExprs_) : null,
           (havingClause_ != null) ? havingClause_.clone(null) : null,
           cloneOrderByElements(),
           (limitElement_ != null) ? limitElement_.clone(null) : null);
   selectClone.setWithClause(cloneWithClause());
   return selectClone;
 }