public Iterator<EquivGroup> iterateGroups() {
    return groups.iterator();

  }
Links and optionally merges the groups identified by the two objects.
ql/src/java/org/apache/hadoop/hive/ql/plan/mapper/PlanMapper.java