You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return List instead of Set in ZDIFF, ZINTER, ZUNION (#3431)
* Reformat sorted set methods
- zdiff, zinter, zunion methods now return List instead of Set
- ...store methods are renamed to ...Store
- ...card methods are renamed to ...Card
* fix javadoc
* fix zunion test
* breaking change list
* Undo method renames
* undo javadoc changes
* fix
Copy file name to clipboardExpand all lines: docs/jedis5-breaking.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,18 @@
14
14
-`blpop(double timeout, byte[]... keys)`
15
15
-`brpop(double timeout, byte[]... keys)`
16
16
17
+
-`zdiff(String... keys)` method now returns `List<String>` (instead of `Set<String>`).
18
+
-`zdiff(byte[]... keys)` method now returns `List<byte[]>` (instead of `Set<byte[]>`).
19
+
- Both `zdiffWithScores(String... keys)` and `zdiffWithScores(byte[]... keys)` methods now return `List<Tuple>` (instead of `Set<Tuple>`).
20
+
21
+
-`zinter(ZParams params, String... keys)` method now returns `List<String>` (instead of `Set<String>`).
22
+
-`zinter(ZParams params, byte[]... keys)` method now returns `List<byte[]>` (instead of `Set<byte[]>`).
23
+
- Both `zinterWithScores(ZParams params, String... keys)` and `zinterWithScores(ZParams params, byte[]... keys)` methods now return `List<Tuple>` (instead of `Set<Tuple>`).
24
+
25
+
-`zunion(ZParams params, String... keys)` method now returns `List<String>` (instead of `Set<String>`).
26
+
-`zunion(ZParams params, byte[]... keys)` method now returns `List<byte[]>` (instead of `Set<byte[]>`).
27
+
- Both `zunionWithScores(ZParams params, String... keys)` and `zunionWithScores(ZParams params, byte[]... keys)` methods now return `List<Tuple>` (instead of `Set<Tuple>`).
28
+
17
29
-`getAgeSeconds()` in `AccessControlLogEntry` now returns `Double` instead of `String`.
18
30
19
31
-`graphSlowlog(String graphName)` now returns `List<List<Object>>` (instead of `List<List<String>>`).
0 commit comments