nemo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nemo] wynot12 commented on a change in pull request #203: [NEMO-360] Implementing an 'XGBoostPolicy'
Date Mon, 25 Mar 2019 15:55:16 GMT
wynot12 commented on a change in pull request #203: [NEMO-360] Implementing an 'XGBoostPolicy'
URL: https://github.com/apache/incubator-nemo/pull/203#discussion_r268669226
 
 

 ##########
 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:
   No usages found.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message