You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/07/17 19:47:48 UTC

[GitHub] [incubator-druid] clintropolis commented on a change in pull request #8089: add CachingClusteredClient benchmark, refactor some stuff

clintropolis commented on a change in pull request #8089: add CachingClusteredClient benchmark, refactor some stuff
URL: https://github.com/apache/incubator-druid/pull/8089#discussion_r304610978
 
 

 ##########
 File path: core/src/main/java/org/apache/druid/collections/CombiningFunction.java
 ##########
 @@ -17,11 +17,10 @@
  * under the License.
  */
 
-package org.apache.druid.java.util.common.guava.nary;
+package org.apache.druid.collections;
 
-/**
- */
-public interface BinaryFn<Type1, Type2, OutType>
+@FunctionalInterface
+public interface CombiningFunction<T>
 
 Review comment:
   Ah, good point. All of our custom functions gave me tunnel vision and I forgot that Java exists 😅.  I don't think the existence of `CombiningFunction` is really justified since it's just for vanity/cosmetic reasons to clarify what it's doing, which I don't think are necessary.

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org