Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Agg.medianAll(), Agg.percentileAll() to return a Seq of multiple values #221

Open
lukaseder opened this issue Mar 20, 2016 · 0 comments

Comments

@lukaseder
Copy link
Member

See also #220

@lukaseder lukaseder added this to the Version 0.9.11 milestone Mar 20, 2016
TRebirthC added a commit to TRebirthC/jOOL that referenced this issue May 31, 2020
[jOOQ#221]Add Agg.medianAll() and Agg.percentileAll()
JingHuaMan added a commit to JingHuaMan/jOOL that referenced this issue May 16, 2021
JingHuaMan added a commit to JingHuaMan/jOOL that referenced this issue May 16, 2021
lukaseder added a commit that referenced this issue May 21, 2021
#221 Add percentileAll and medianAll
lukaseder added a commit that referenced this issue May 21, 2021
…ltiple values

A few fixes from the suggested PR:

- Removed unnecessary comments
- Removed unnecessary covariance in Tuple2<T, U>
- Added static imports where appropriate
- Factored out common Collector logic between percentileBy() and percentileAllBy()
  - percentileCollector() is a Collector for common supplier/accumulator/combiner
    logic as well as handling empty and single element cases and sorting
  - percentileIndex does the percentile to arraylist index calculation
lukaseder added a commit that referenced this issue May 21, 2021
…ltiple values

A few fixes from the suggested PR:

- Removed unnecessary comments
- Removed unnecessary covariance in Tuple2<T, U>
- Added static imports where appropriate
- Factored out common Collector logic between percentileBy() and percentileAllBy()
  - percentileCollector() is a Collector for common supplier/accumulator/combiner
    logic as well as handling empty and single element cases and sorting
  - percentileIndex does the percentile to arraylist index calculation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant