Set<StreamEdge> getIntermediateStreamEdges() {
    return Collections.unmodifiableSet(intermediateStreams);
  }
Returns the intermediate streams in the graph
@return unmodifiable set of {@link StreamEdge}
samza-core/src/main/java/org/apache/samza/execution/JobGraph.java