jeongyooneo commented on a change in pull request #191: [NEMO-332] Refactor
RunTimePass
URL: https://github.com/apache/incubator-nemo/pull/191#discussion_r252126857
##########
File path:
common/src/main/java/org/apache/nemo/common/ir/edge/executionproperty/PartitionerProperty.java
##########
@@ -18,38 +18,62 @@
*/
package org.apache.nemo.common.ir.edge.executionproperty;
+import org.apache.nemo.common.Pair;
import org.apache.nemo.common.ir.executionproperty.EdgeExecutionProperty;
/**
* Partitioner ExecutionProperty.
*/
-public final class PartitionerProperty extends
EdgeExecutionProperty<PartitionerProperty.Value> {
+public final class PartitionerProperty
+ extends EdgeExecutionProperty<Pair<PartitionerProperty.Type, Integer>> {
+ public static final int AUTO_NUMBER_OF_PARTITIONS = 0;
Review comment:
What does 'auto' mean here? How about `DESTINATION_PARALLELISM`?
----------------------------------------------------------------
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