shpark commented on a change in pull request #91: [NEMO-3] Bump up the Beam
version to 2.5.0
URL: https://github.com/apache/incubator-nemo/pull/91#discussion_r208424286
##########
File path:
runtime/executor/src/main/java/edu/snu/nemo/runtime/executor/datatransfer/OutputCollectorImpl.java
##########
@@ -117,4 +117,16 @@ public boolean isEmpty(final String tag) {
return this.additionalTagOutputQueues.get(tag).isEmpty();
}
}
+
+ public Queue<O> getMainTagOutputQueue() {
+ return mainTagOutputQueue;
+ }
+
+ public Queue getAdditionalTagOutputQueue(final String dstVertexId) {
Review comment:
This is invoked for every element. This is a newly introduced way of
implementing `processElement` with additional output tags. Detailed example can
be found
[here](https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/ParDo.java#L219).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services