-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Return List instead of Set in ZDIFF, ZINTER, ZUNION #3431
Conversation
- zdiff, zinter, zunion methods now return List instead of Set - ...store methods are renamed to ...Store - ...card methods are renamed to ...Card
7aed3a0
to
68d8bbe
Compare
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## master #3431 +/- ##
============================================
- Coverage 68.07% 67.95% -0.12%
+ Complexity 4543 4537 -6
============================================
Files 275 275
Lines 14597 14593 -4
Branches 978 977 -1
============================================
- Hits 9937 9917 -20
- Misses 4248 4265 +17
+ Partials 412 411 -1
☔ View full report in Codecov by Sentry. |
- `zdiff(String... keys)` method now returns `List<String>` (instead of `Set<String>`). | ||
- `zdiff(byte[]... keys)` method now returns `List<byte[]>` (instead of `Set<byte[]>`). | ||
- Both `zdiffWithScores(String... keys)` and `zdiffWithScores(byte[]... keys)` methods now return `List<Tuple>` (instead of `Set<Tuple>`). | ||
|
||
- `zinter(ZParams params, String... keys)` method now returns `List<String>` (instead of `Set<String>`). | ||
- `zinter(ZParams params, byte[]... keys)` method now returns `List<byte[]>` (instead of `Set<byte[]>`). | ||
- Both `zinterWithScores(ZParams params, String... keys)` and `zinterWithScores(ZParams params, byte[]... keys)` methods now return `List<Tuple>` (instead of `Set<Tuple>`). | ||
|
||
- `zunion(ZParams params, String... keys)` method now returns `List<String>` (instead of `Set<String>`). | ||
- `zunion(ZParams params, byte[]... keys)` method now returns `List<byte[]>` (instead of `Set<byte[]>`). | ||
- Both `zunionWithScores(ZParams params, String... keys)` and `zunionWithScores(ZParams params, byte[]... keys)` methods now return `List<Tuple>` (instead of `Set<Tuple>`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Conflicts: src/main/java/redis/clients/jedis/MultiNodePipelineBase.java src/main/java/redis/clients/jedis/Pipeline.java src/test/java/redis/clients/jedis/commands/jedis/SortedSetCommandsTest.java src/test/java/redis/clients/jedis/commands/unified/SortedSetCommandsTestBase.java
Closes #3083