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 TS.INFO [DEGUB] and CF.MEXISTS in pipelined commands #3787

Merged
merged 4 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
}
Loading