wonook commented on a change in pull request #203: [NEMO-360] Implementing an
'XGBoostPolicy'
URL: https://github.com/apache/incubator-nemo/pull/203#discussion_r268947076
##########
File path:
common/src/main/java/org/apache/nemo/common/ir/edge/executionproperty/PartitionerProperty.java
##########
@@ -69,6 +69,15 @@ private static PartitionerProperty of(final Type type,
final int numOfPartitions
return new PartitionerProperty(Pair.of(type, numOfPartitions));
}
+ /**
+ * Static constructor.
+ * @param value the Pair value.
+ * @return the new execution property.
+ */
+ public static PartitionerProperty of(final Pair<Type, Integer> value) {
+ return new PartitionerProperty(value);
+ }
+
Review comment:
Ditto.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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