public TezEdgeProperty getEdgeProperty(BaseWork a, BaseWork b) {
    return edgeProperties.get(new ImmutablePair(a,b));
  }
returns the edge type connecting work a and b
ql/src/java/org/apache/hadoop/hive/ql/plan/TezWork.java