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/23 16:38:29 UTC
[GitHub] [incubator-druid] leventov opened a new issue #5671: Generify
AggregatorFactory and PostAggregator
leventov opened a new issue #5671: Generify AggregatorFactory and PostAggregator
URL: https://github.com/apache/incubator-druid/issues/5671
If the generic parameter is called `T`, the return type of `compute()` should be `T` and the return type of `getComparator()` should be `Comparator<? super T>`.
Although `PostAggregator` is an `ExtensionPoint` this should be a compatible change, because generics in Java were designed to support compatible transition.
----------------------------------------------------------------
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