Commit Graph

554 Commits

Author SHA1 Message Date
Kelvin Clement Mwinuka
f9450a4b22 Implemented HLEN command 2024-01-04 16:53:43 +03:00
Kelvin Clement Mwinuka
c8f71b38ae Implemented HVALS command 2024-01-04 16:44:18 +03:00
Kelvin Clement Mwinuka
baf0fae6cb Implemented HSTRLEN command 2024-01-04 16:30:12 +03:00
Kelvin Clement Mwinuka
d83efc2c59 Implemented HSET, HSETNX, and HGET commands for hash type 2024-01-04 14:54:33 +03:00
Kelvin Clement Mwinuka
31c860a0bf Removed commands array field in Plugin struct for ACL comands 2024-01-03 22:52:30 +03:00
Kelvin Clement Mwinuka
af37cfe19f Get range HandlerFunc set to handleSubstr as it has the same functionality 2024-01-03 22:42:35 +03:00
Kelvin Clement Mwinuka
505a5bc966 Introduces HandlerFunc into Command and SubCommand types 2024-01-03 22:41:04 +03:00
Kelvin Clement Mwinuka
c74298a499 Created new module for hash data type 2024-01-02 20:41:35 +03:00
Kelvin Clement Mwinuka
1410012c05 Implemented ZRANGESTORE command 2024-01-02 20:30:37 +03:00
Kelvin Clement Mwinuka
9be6e8d4b7 Implemented ZRANGE command 2024-01-02 20:05:42 +03:00
Kelvin Clement Mwinuka
778811cb97 Implemented ZLEXCOUNT command 2024-01-02 17:53:58 +03:00
Kelvin Clement Mwinuka
f08488aa9d Implemented ZLEXCOUNT command 2024-01-02 17:35:09 +03:00
Kelvin Clement Mwinuka
d3e62eab1e Implemented ZRANDMEMBER command 2024-01-02 15:25:21 +03:00
Kelvin Clement Mwinuka
3ccf8a0c20 Display count when new members are added ot sorted set. This only applies to new members that are actually applied and not members that remain unchanged 2024-01-02 02:25:52 +03:00
Kelvin Clement Mwinuka
43df636f64 Implemented ZREMRANGEBYLEX command 2024-01-02 02:15:39 +03:00
Kelvin Clement Mwinuka
55f9c865c2 Implemented ZREMRANGEBYRANK command 2024-01-01 02:08:16 +03:00
Kelvin Clement Mwinuka
319083564b Implemented ZREMRANGEBYSCORE command 2024-01-01 00:25:42 +03:00
Kelvin Clement Mwinuka
f3518a1add Implemented ZREVRANK command 2023-12-31 22:16:12 +03:00
Kelvin Clement Mwinuka
835f881076 Implemented ZRANK command 2023-12-31 22:03:45 +03:00
Kelvin Clement Mwinuka
766d3756d7 Implemented ZPOPMIN and ZPOPMAX commands 2023-12-31 21:35:04 +03:00
Kelvin Clement Mwinuka
40325d41cd Implemented ZMPOP command 2023-12-31 20:38:35 +03:00
Kelvin Clement Mwinuka
505f4af5c0 Implemented ZDIFFSTORE command 2023-12-31 17:26:54 +03:00
Kelvin Clement Mwinuka
26ac91ee32 Implemented ZINTERSTORE command 2023-12-31 02:49:29 +03:00
Kelvin Clement Mwinuka
ef64c663c9 Imlemented ZUINIONSTORE command 2023-12-30 22:42:33 +03:00
Kelvin Clement Mwinuka
3634914d50 Implemented ZUNION command 2023-12-30 20:34:04 +03:00
Kelvin Clement Mwinuka
cd3755c9ba Updated SortedSet Subtract method to remove returned error 2023-12-29 21:30:19 +03:00
Kelvin Clement Mwinuka
edcbfb3456 Implemented ZDIFF command 2023-12-29 21:26:28 +03:00
Kelvin Clement Mwinuka
c2220e0a12 Implemented ZSCORE command 2023-12-29 19:51:52 +03:00
Kelvin Clement Mwinuka
0a3aed06df Implemented ZREM command for sorted set 2023-12-29 19:40:34 +03:00
Kelvin Clement Mwinuka
d2290fe0cf Implemented ZMSCORE command 2023-12-29 19:11:26 +03:00
Kelvin Clement Mwinuka
4542f40b90 Implemented zincrby command 2023-12-29 18:44:46 +03:00
Kelvin Clement Mwinuka
6cab617c0e Implemented ZCOUNT command 2023-12-29 17:47:09 +03:00
Kelvin Clement Mwinuka
9b58fbc509 Implemented ZCARD command 2023-12-29 16:18:03 +03:00
Kelvin Clement Mwinuka
524bb3bfd8 Removed unused packages. Implemented ZADD command on sorted sets 2023-12-29 15:12:16 +03:00
Kelvin Clement Mwinuka
53a39a44b7 Added testify package. Created AddOrUpdate set method in sorted set 2023-12-28 23:50:14 +03:00
Kelvin Clement Mwinuka
6024b42e80 Merge branch 'main' into feature/sorted-set 2023-12-24 17:05:39 +03:00
Kelvin Clement Mwinuka
f304142336 Refactor list module to add new delimiter '\r\n' to responses and improve code readability and error handling 2023-12-24 17:05:25 +03:00
Kelvin Clement Mwinuka
48bf1382ce Adde scaffolding for sorted set command handling 2023-12-24 16:07:49 +03:00
Kelvin Clement Mwinuka
be27c5cd1f Added categories to set commands 2023-12-24 03:49:41 +03:00
Kelvin Clement Mwinuka
14ead95018 Implented SUNION command 2023-12-24 03:33:47 +03:00
Kelvin Clement Mwinuka
94d4f84554 Implemented SUNION command 2023-12-24 03:17:07 +03:00
Kelvin Clement Mwinuka
177e287028 Implemented SREM command 2023-12-24 02:57:06 +03:00
Kelvin Clement Mwinuka
02aaba5260 Implemented SPOP command. Implemented SRANDMEMBER command. Added utility function to get absolute integer. 2023-12-24 02:36:02 +03:00
Kelvin Clement Mwinuka
ccc32661e2 Implemented SMOVE command 2023-12-24 00:18:27 +03:00
Kelvin Clement Mwinuka
14e5821549 Implemented SMISMEMBER command 2023-12-23 23:17:50 +03:00
Kelvin Clement Mwinuka
4e57e427ce Implemented SMEMBERS command 2023-12-23 22:58:17 +03:00
Kelvin Clement Mwinuka
2690aa46d0 Implemented SISMEMBER command handler 2023-12-23 22:35:24 +03:00
Kelvin Clement Mwinuka
09dd17a7e7 Updated Intersection method of Set to fix bugs in finding intersection of more than one set. Implemented SINTERCARD command 2023-12-23 22:24:38 +03:00
Kelvin Clement Mwinuka
c3e1c5d376 Implemented SINTER command 2023-12-23 15:29:30 +03:00
Kelvin Clement Mwinuka
af29474970 Implemented SDIFF and SDIFFSTORE commands 2023-12-23 03:20:19 +03:00