seojangho commented on a change in pull request #2: [NEMO-7] Intra-TaskGroup pipelining URL: https://github.com/apache/incubator-nemo/pull/2#discussion_r172762337
########## File path: compiler/frontend/beam/src/main/java/edu/snu/nemo/compiler/frontend/beam/transform/FlattenTransform.java ########## @@ -37,18 +36,18 @@ public FlattenTransform() { } @Override - public void prepare(final Context context, final OutputCollector<T> oc) { - this.outputCollector = oc; + public void prepare(final Context context, final Pipe<T> p) { + this.pipe = p; } @Override - public void onData(final Iterator<T> elements, final String srcVertexId) { - elements.forEachRemaining(collectedElements::add); + public void onData(final Object element) { Review comment: Same here. `public void onData(final T element)`? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services