public void addAll(BaseWork[] bws) {
    for (BaseWork w: bws) {
      this.add(w);
    }
  }
add all nodes in the collection without any connections
ql/src/java/org/apache/hadoop/hive/ql/plan/TezWork.java