public boolean getLlapMode() {
    for (BaseWork work : getAllWork()) {
      if (work.getLlapMode()) {
        return true;
      }
    }
    return false;
  }
connect adds an edge between a and b. Both nodes have
to be added prior to calling connect.
ql/src/java/org/apache/hadoop/hive/ql/plan/TezWork.java