Skip to content

Commit

Permalink
Align Pipelined commands with UnifiedJedis (#3787)
Browse files Browse the repository at this point in the history
* Align Pipelined commands with UnifiedJedis

Add some Pipelined commands that are available in UnifiedJedis but are
missing the pipelined version.

* Pipeline does not need scriptKill

Co-authored-by: M Sazzadul Hoque <[email protected]>

* Undo script commands changes

---------

Co-authored-by: Gabriel Erzse <[email protected]>
Co-authored-by: M Sazzadul Hoque <[email protected]>
  • Loading branch information
3 people authored Mar 25, 2024
1 parent b530804 commit 845a01f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/redis/clients/jedis/PipeliningBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -3907,6 +3907,16 @@ public Response<String> tsDeleteRule(String sourceKey, String destKey) {
public Response<List<String>> tsQueryIndex(String... filters) {
return appendCommand(commandObjects.tsQueryIndex(filters));
}

@Override
public Response<TSInfo> tsInfo(String key) {
return appendCommand(commandObjects.tsInfo(key));
}

@Override
public Response<TSInfo> tsInfoDebug(String key) {
return appendCommand(commandObjects.tsInfoDebug(key));
}
// RedisTimeSeries commands

// RedisBloom commands
Expand Down Expand Up @@ -4015,6 +4025,11 @@ public Response<Boolean> cfExists(String key, String item) {
return appendCommand(commandObjects.cfExists(key, item));
}

@Override
public Response<List<Boolean>> cfMExists(String key, String... items) {
return appendCommand(commandObjects.cfMExists(key, items));
}

@Override
public Response<Boolean> cfDel(String key, String item) {
return appendCommand(commandObjects.cfDel(key, item));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public interface CuckooFilterPipelineCommands {

Response<Boolean> cfExists(String key, String item);

Response<List<Boolean>> cfMExists(String key, String... items);

Response<Boolean> cfDel(String key, String item);

Response<Long> cfCount(String key, String item);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,8 @@ public interface RedisTimeSeriesPipelineCommands {
Response<String> tsDeleteRule(String sourceKey, String destKey);

Response<List<String>> tsQueryIndex(String... filters);

Response<TSInfo> tsInfo(String key);

Response<TSInfo> tsInfoDebug(String key);
}

0 comments on commit 845a01f

Please sign in to comment.