pDo.getFunction().process(obj, emitter);
}
// MultipleParallelDo -> parallel operations that read the same collection
// In this version of executor, we will only compute the current collection, not its neighbors
} else if(op instanceof MultipleParallelDo) {
MultipleParallelDo mPDo = (MultipleParallelDo) op;
parent = execute((LazyCollection)mPDo.getOrigin());
DoFn function = (DoFn)mPDo.getDests().get(output); // get the function that corresponds to this collection
for (Object obj : parent) {
function.process(obj, emitter);
}
// GroupByKey
} else if(op instanceof GroupByKey) {