-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80f5a57
commit 1eaefd6
Showing
7 changed files
with
252 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/main/java/redis/clients/jedis/commands/RedisModulePipelineCommands.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package redis.clients.jedis.commands; | ||
|
||
import redis.clients.jedis.json.RedisJsonPipelineCommands; | ||
import redis.clients.jedis.search.RediSearchPipelineCommands; | ||
|
||
public interface RedisModulePipelineCommands extends RediSearchPipelineCommands, RedisJsonPipelineCommands { | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/redis/clients/jedis/json/RedisJsonPipelineCommands.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package redis.clients.jedis.json; | ||
|
||
import redis.clients.jedis.Response; | ||
|
||
public interface RedisJsonPipelineCommands { | ||
|
||
Response<String> jsonSet(String key, Object object); | ||
|
||
Response<String> jsonSet(String key, Path path, Object object); | ||
|
||
<T> Response<T> jsonGet(String key, Class<T> clazz); | ||
|
||
<T> Response<T> jsonGet(String key, Class<T> clazz, Path... paths); | ||
|
||
Response<Long> jsonDel(String key); | ||
|
||
Response<Long> jsonDel(String key, Path path); | ||
} |
12 changes: 12 additions & 0 deletions
12
src/main/java/redis/clients/jedis/search/RediSearchPipelineCommands.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package redis.clients.jedis.search; | ||
|
||
import redis.clients.jedis.Response; | ||
|
||
public interface RediSearchPipelineCommands { | ||
|
||
Response<String> ftCreate(String indexName, IndexOptions indexOptions, Schema schema); | ||
|
||
Response<SearchResult> ftSearch(String indexName, Query query); | ||
|
||
Response<SearchResult> ftSearch(byte[] indexName, Query query); | ||
} |