示例#1
0
 public void visit(SubSelect subSelect) throws Exception {
   subSelect.getSelectBody().accept(this);
   if (subSelect.getWithItemsList() != null) {
     for (WithItem withItem : subSelect.getWithItemsList()) {
       visit(withItem);
     }
   }
 }
 @Override
 public void visit(SubSelect subSelect) {
   SelectVisitorImpl visitor = new SelectVisitorImpl();
   subSelect.getSelectBody().accept(visitor);
   relationProvider = visitor.getOperation();
 }