Package | Description |
---|---|
io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
io.lettuce.core.api.async |
Standalone Redis API for asynchronous executed commands.
|
io.lettuce.core.api.reactive |
Standalone Redis API for reactive command execution.
|
io.lettuce.core.api.sync |
Standalone Redis API for synchronous executed commands.
|
io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient . |
io.lettuce.core.cluster.api.async |
Redis Cluster API for asynchronous executed commands.
|
io.lettuce.core.cluster.api.sync |
Redis Cluster API for synchronous executed commands.
|
io.lettuce.core.json |
Support for the JSON Redis Module.
|
io.lettuce.core.json.arguments |
Modifier and Type | Method and Description |
---|---|
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrappend(K key,
JsonPath jsonPath,
JsonValue... values) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrappend(K key,
JsonPath jsonPath,
JsonValue... values) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrappend(K key,
JsonPath jsonPath,
String... jsonStrings) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrappend(K key,
JsonPath jsonPath,
String... jsonStrings) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value,
JsonRangeArgs range) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value,
JsonRangeArgs range) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString,
JsonRangeArgs range) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString,
JsonRangeArgs range) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
JsonValue... values) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
JsonValue... values) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
String... jsonStrings) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
String... jsonStrings) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrlen(K key,
JsonPath jsonPath) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrlen(K key,
JsonPath jsonPath) |
RedisFuture<List<JsonValue>> |
AbstractRedisAsyncCommands.jsonArrpop(K key,
JsonPath jsonPath) |
Flux<JsonValue> |
AbstractRedisReactiveCommands.jsonArrpop(K key,
JsonPath jsonPath) |
RedisFuture<List<JsonValue>> |
AbstractRedisAsyncCommands.jsonArrpop(K key,
JsonPath jsonPath,
int index) |
Flux<JsonValue> |
AbstractRedisReactiveCommands.jsonArrpop(K key,
JsonPath jsonPath,
int index) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonArrtrim(K key,
JsonPath jsonPath,
JsonRangeArgs range) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonArrtrim(K key,
JsonPath jsonPath,
JsonRangeArgs range) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.jsonClear(K key,
JsonPath jsonPath) |
Mono<Long> |
AbstractRedisReactiveCommands.jsonClear(K key,
JsonPath jsonPath) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.jsonDel(K key,
JsonPath jsonPath) |
Mono<Long> |
AbstractRedisReactiveCommands.jsonDel(K key,
JsonPath jsonPath) |
RedisFuture<List<JsonValue>> |
AbstractRedisAsyncCommands.jsonGet(K key,
JsonGetArgs options,
JsonPath... jsonPaths) |
Flux<JsonValue> |
AbstractRedisReactiveCommands.jsonGet(K key,
JsonGetArgs options,
JsonPath... jsonPaths) |
RedisFuture<List<JsonValue>> |
AbstractRedisAsyncCommands.jsonGet(K key,
JsonPath... jsonPaths) |
Flux<JsonValue> |
AbstractRedisReactiveCommands.jsonGet(K key,
JsonPath... jsonPaths) |
RedisFuture<String> |
AbstractRedisAsyncCommands.jsonMerge(K key,
JsonPath jsonPath,
JsonValue value) |
Mono<String> |
AbstractRedisReactiveCommands.jsonMerge(K key,
JsonPath jsonPath,
JsonValue value) |
RedisFuture<String> |
AbstractRedisAsyncCommands.jsonMerge(K key,
JsonPath jsonPath,
String jsonString) |
Mono<String> |
AbstractRedisReactiveCommands.jsonMerge(K key,
JsonPath jsonPath,
String jsonString) |
RedisFuture<List<JsonValue>> |
AbstractRedisAsyncCommands.jsonMGet(JsonPath jsonPath,
K... keys) |
Flux<JsonValue> |
AbstractRedisReactiveCommands.jsonMGet(JsonPath jsonPath,
K... keys) |
RedisFuture<List<Number>> |
AbstractRedisAsyncCommands.jsonNumincrby(K key,
JsonPath jsonPath,
Number number) |
Flux<Number> |
AbstractRedisReactiveCommands.jsonNumincrby(K key,
JsonPath jsonPath,
Number number) |
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.jsonObjkeys(K key,
JsonPath jsonPath) |
Flux<V> |
AbstractRedisReactiveCommands.jsonObjkeys(K key,
JsonPath jsonPath) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonObjlen(K key,
JsonPath jsonPath) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonObjlen(K key,
JsonPath jsonPath) |
RedisFuture<String> |
AbstractRedisAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value) |
Mono<String> |
AbstractRedisReactiveCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value) |
RedisFuture<String> |
AbstractRedisAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value,
JsonSetArgs options) |
Mono<String> |
AbstractRedisReactiveCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value,
JsonSetArgs options) |
RedisFuture<String> |
AbstractRedisAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString) |
Mono<String> |
AbstractRedisReactiveCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString) |
RedisFuture<String> |
AbstractRedisAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString,
JsonSetArgs options) |
Mono<String> |
AbstractRedisReactiveCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString,
JsonSetArgs options) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonStrappend(K key,
JsonPath jsonPath,
JsonValue value) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonStrappend(K key,
JsonPath jsonPath,
JsonValue value) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonStrappend(K key,
JsonPath jsonPath,
String jsonString) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonStrappend(K key,
JsonPath jsonPath,
String jsonString) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonStrlen(K key,
JsonPath jsonPath) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonStrlen(K key,
JsonPath jsonPath) |
RedisFuture<List<Long>> |
AbstractRedisAsyncCommands.jsonToggle(K key,
JsonPath jsonPath) |
Flux<Long> |
AbstractRedisReactiveCommands.jsonToggle(K key,
JsonPath jsonPath) |
RedisFuture<List<JsonType>> |
AbstractRedisAsyncCommands.jsonType(K key,
JsonPath jsonPath) |
Flux<JsonType> |
AbstractRedisReactiveCommands.jsonType(K key,
JsonPath jsonPath) |
Modifier and Type | Method and Description |
---|---|
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrappend(K key,
JsonPath jsonPath,
JsonValue... values)
Append the JSON values into the array at a given
JsonPath after the last element in a said array. |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrappend(K key,
JsonPath jsonPath,
String... jsonStrings)
Append the JSON string values into the array at a given
JsonPath after the last element in a said array. |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value)
|
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value,
JsonRangeArgs range)
|
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString,
JsonRangeArgs range)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
JsonValue... values)
|
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
String... jsonStrings)
Insert the JSON string values into the array at a given
JsonPath before the provided index. |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrlen(K key,
JsonPath jsonPath)
Report the length of the JSON array at a given
JsonPath |
RedisFuture<List<JsonValue>> |
RedisJsonAsyncCommands.jsonArrpop(K key,
JsonPath jsonPath)
|
RedisFuture<List<JsonValue>> |
RedisJsonAsyncCommands.jsonArrpop(K key,
JsonPath jsonPath,
int index)
|
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonArrtrim(K key,
JsonPath jsonPath,
JsonRangeArgs range)
Trim an array at a given
JsonPath so that it contains only the specified inclusive range of elements. |
RedisFuture<Long> |
RedisJsonAsyncCommands.jsonClear(K key,
JsonPath jsonPath)
Clear container values (arrays/objects) and set numeric values to 0
|
RedisFuture<Long> |
RedisJsonAsyncCommands.jsonDel(K key,
JsonPath jsonPath)
Deletes a value inside the JSON document at a given
JsonPath |
RedisFuture<List<JsonValue>> |
RedisJsonAsyncCommands.jsonGet(K key,
JsonGetArgs options,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
RedisFuture<List<JsonValue>> |
RedisJsonAsyncCommands.jsonGet(K key,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
RedisFuture<String> |
RedisJsonAsyncCommands.jsonMerge(K key,
JsonPath jsonPath,
JsonValue value)
|
RedisFuture<String> |
RedisJsonAsyncCommands.jsonMerge(K key,
JsonPath jsonPath,
String jsonString)
Merge a given JSON string with the value matching
JsonPath . |
RedisFuture<List<JsonValue>> |
RedisJsonAsyncCommands.jsonMGet(JsonPath jsonPath,
K... keys)
Return the values at the specified path from multiple key arguments.
|
RedisFuture<List<Number>> |
RedisJsonAsyncCommands.jsonNumincrby(K key,
JsonPath jsonPath,
Number number)
Increment the number value stored at the specified
JsonPath in the JSON document by the provided increment. |
RedisFuture<List<V>> |
RedisJsonAsyncCommands.jsonObjkeys(K key,
JsonPath jsonPath)
Return the keys in the JSON document that are referenced by the given
JsonPath |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonObjlen(K key,
JsonPath jsonPath)
Report the number of keys in the JSON object at the specified
JsonPath and for the provided key |
RedisFuture<String> |
RedisJsonAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
RedisFuture<String> |
RedisJsonAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
RedisFuture<String> |
RedisJsonAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
RedisFuture<String> |
RedisJsonAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonStrappend(K key,
JsonPath jsonPath,
JsonValue value)
Append the json-string values to the string at the provided
JsonPath in the JSON document. |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonStrappend(K key,
JsonPath jsonPath,
String jsonString)
Append the JSON string to the string at the provided
JsonPath in the JSON document. |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonStrlen(K key,
JsonPath jsonPath)
Report the length of the JSON String at the provided
JsonPath in the JSON document. |
RedisFuture<List<Long>> |
RedisJsonAsyncCommands.jsonToggle(K key,
JsonPath jsonPath)
Toggle a Boolean value stored at the provided
JsonPath in the JSON document. |
RedisFuture<List<JsonType>> |
RedisJsonAsyncCommands.jsonType(K key,
JsonPath jsonPath)
Report the type of JSON value at the provided
JsonPath in the JSON document. |
Modifier and Type | Method and Description |
---|---|
Flux<Long> |
RedisJsonReactiveCommands.jsonArrappend(K key,
JsonPath jsonPath,
JsonValue... values)
Append the JSON values into the array at a given
JsonPath after the last element in a said array. |
Flux<Long> |
RedisJsonReactiveCommands.jsonArrappend(K key,
JsonPath jsonPath,
String... jsonStrings)
Append the JSON string values into the array at a given
JsonPath after the last element in a said array. |
Flux<Long> |
RedisJsonReactiveCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value)
|
Flux<Long> |
RedisJsonReactiveCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value,
JsonRangeArgs range)
|
Flux<Long> |
RedisJsonReactiveCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
Flux<Long> |
RedisJsonReactiveCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString,
JsonRangeArgs range)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
Flux<Long> |
RedisJsonReactiveCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
JsonValue... values)
|
Flux<Long> |
RedisJsonReactiveCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
String... jsonStrings)
Insert the JSON string values into the array at a given
JsonPath before the provided index. |
Flux<Long> |
RedisJsonReactiveCommands.jsonArrlen(K key,
JsonPath jsonPath)
Report the length of the JSON array at a given
JsonPath |
Flux<JsonValue> |
RedisJsonReactiveCommands.jsonArrpop(K key,
JsonPath jsonPath)
|
Flux<JsonValue> |
RedisJsonReactiveCommands.jsonArrpop(K key,
JsonPath jsonPath,
int index)
|
Flux<Long> |
RedisJsonReactiveCommands.jsonArrtrim(K key,
JsonPath jsonPath,
JsonRangeArgs range)
Trim an array at a given
JsonPath so that it contains only the specified inclusive range of elements. |
Mono<Long> |
RedisJsonReactiveCommands.jsonClear(K key,
JsonPath jsonPath)
Clear container values (arrays/objects) and set numeric values to 0
|
Mono<Long> |
RedisJsonReactiveCommands.jsonDel(K key,
JsonPath jsonPath)
Deletes a value inside the JSON document at a given
JsonPath |
Flux<JsonValue> |
RedisJsonReactiveCommands.jsonGet(K key,
JsonGetArgs options,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
Flux<JsonValue> |
RedisJsonReactiveCommands.jsonGet(K key,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
Mono<String> |
RedisJsonReactiveCommands.jsonMerge(K key,
JsonPath jsonPath,
JsonValue value)
|
Mono<String> |
RedisJsonReactiveCommands.jsonMerge(K key,
JsonPath jsonPath,
String jsonString)
Merge a given JSON string with the value matching
JsonPath . |
Flux<JsonValue> |
RedisJsonReactiveCommands.jsonMGet(JsonPath jsonPath,
K... keys)
Return the values at the specified path from multiple key arguments.
|
Flux<Number> |
RedisJsonReactiveCommands.jsonNumincrby(K key,
JsonPath jsonPath,
Number number)
Increment the number value stored at the specified
JsonPath in the JSON document by the provided increment. |
Flux<V> |
RedisJsonReactiveCommands.jsonObjkeys(K key,
JsonPath jsonPath)
Return the keys in the JSON document that are referenced by the given
JsonPath |
Flux<Long> |
RedisJsonReactiveCommands.jsonObjlen(K key,
JsonPath jsonPath)
Report the number of keys in the JSON object at the specified
JsonPath and for the provided key |
Mono<String> |
RedisJsonReactiveCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
Mono<String> |
RedisJsonReactiveCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
Mono<String> |
RedisJsonReactiveCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
Mono<String> |
RedisJsonReactiveCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
Flux<Long> |
RedisJsonReactiveCommands.jsonStrappend(K key,
JsonPath jsonPath,
JsonValue value)
Append the json-string values to the string at the provided
JsonPath in the JSON document. |
Flux<Long> |
RedisJsonReactiveCommands.jsonStrappend(K key,
JsonPath jsonPath,
String jsonString)
Append the JSON string to the string at the provided
JsonPath in the JSON document. |
Flux<Long> |
RedisJsonReactiveCommands.jsonStrlen(K key,
JsonPath jsonPath)
Report the length of the JSON String at the provided
JsonPath in the JSON document. |
Flux<Long> |
RedisJsonReactiveCommands.jsonToggle(K key,
JsonPath jsonPath)
Toggle a Boolean value stored at the provided
JsonPath in the JSON document. |
Flux<JsonType> |
RedisJsonReactiveCommands.jsonType(K key,
JsonPath jsonPath)
Report the type of JSON value at the provided
JsonPath in the JSON document. |
Modifier and Type | Method and Description |
---|---|
List<Long> |
RedisJsonCommands.jsonArrappend(K key,
JsonPath jsonPath,
JsonValue... values)
Append the JSON values into the array at a given
JsonPath after the last element in a said array. |
List<Long> |
RedisJsonCommands.jsonArrappend(K key,
JsonPath jsonPath,
String... jsonStrings)
Append the JSON string values into the array at a given
JsonPath after the last element in a said array. |
List<Long> |
RedisJsonCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value)
|
List<Long> |
RedisJsonCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value,
JsonRangeArgs range)
|
List<Long> |
RedisJsonCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
List<Long> |
RedisJsonCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString,
JsonRangeArgs range)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
List<Long> |
RedisJsonCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
JsonValue... values)
|
List<Long> |
RedisJsonCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
String... jsonStrings)
Insert the JSON string values into the array at a given
JsonPath before the provided index. |
List<Long> |
RedisJsonCommands.jsonArrlen(K key,
JsonPath jsonPath)
Report the length of the JSON array at a given
JsonPath |
List<JsonValue> |
RedisJsonCommands.jsonArrpop(K key,
JsonPath jsonPath)
|
List<JsonValue> |
RedisJsonCommands.jsonArrpop(K key,
JsonPath jsonPath,
int index)
|
List<Long> |
RedisJsonCommands.jsonArrtrim(K key,
JsonPath jsonPath,
JsonRangeArgs range)
Trim an array at a given
JsonPath so that it contains only the specified inclusive range of elements. |
Long |
RedisJsonCommands.jsonClear(K key,
JsonPath jsonPath)
Clear container values (arrays/objects) and set numeric values to 0
|
Long |
RedisJsonCommands.jsonDel(K key,
JsonPath jsonPath)
Deletes a value inside the JSON document at a given
JsonPath |
List<JsonValue> |
RedisJsonCommands.jsonGet(K key,
JsonGetArgs options,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
List<JsonValue> |
RedisJsonCommands.jsonGet(K key,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
String |
RedisJsonCommands.jsonMerge(K key,
JsonPath jsonPath,
JsonValue value)
|
String |
RedisJsonCommands.jsonMerge(K key,
JsonPath jsonPath,
String jsonString)
Merge a given JSON string with the value matching
JsonPath . |
List<JsonValue> |
RedisJsonCommands.jsonMGet(JsonPath jsonPath,
K... keys)
Return the values at the specified path from multiple key arguments.
|
List<Number> |
RedisJsonCommands.jsonNumincrby(K key,
JsonPath jsonPath,
Number number)
Increment the number value stored at the specified
JsonPath in the JSON document by the provided increment. |
List<V> |
RedisJsonCommands.jsonObjkeys(K key,
JsonPath jsonPath)
Return the keys in the JSON document that are referenced by the given
JsonPath |
List<Long> |
RedisJsonCommands.jsonObjlen(K key,
JsonPath jsonPath)
Report the number of keys in the JSON object at the specified
JsonPath and for the provided key |
String |
RedisJsonCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
String |
RedisJsonCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
String |
RedisJsonCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
String |
RedisJsonCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
List<Long> |
RedisJsonCommands.jsonStrappend(K key,
JsonPath jsonPath,
JsonValue value)
Append the json-string values to the string at the provided
JsonPath in the JSON document. |
List<Long> |
RedisJsonCommands.jsonStrappend(K key,
JsonPath jsonPath,
String jsonString)
Append the JSON string to the string at the provided
JsonPath in the JSON document. |
List<Long> |
RedisJsonCommands.jsonStrlen(K key,
JsonPath jsonPath)
Report the length of the JSON String at the provided
JsonPath in the JSON document. |
List<Long> |
RedisJsonCommands.jsonToggle(K key,
JsonPath jsonPath)
Toggle a Boolean value stored at the provided
JsonPath in the JSON document. |
List<JsonType> |
RedisJsonCommands.jsonType(K key,
JsonPath jsonPath)
Report the type of JSON value at the provided
JsonPath in the JSON document. |
Modifier and Type | Method and Description |
---|---|
RedisFuture<List<JsonValue>> |
RedisAdvancedClusterAsyncCommandsImpl.jsonMGet(JsonPath jsonPath,
K... keys) |
Modifier and Type | Method and Description |
---|---|
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrappend(K key,
JsonPath jsonPath,
JsonValue... values)
Append the JSON values into the array at a given
JsonPath after the last element in a said array. |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrappend(K key,
JsonPath jsonPath,
String... jsonStrings)
Append the JSON string values into the array at a given
JsonPath after the last element in a said array. |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value)
|
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value,
JsonRangeArgs range)
|
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString,
JsonRangeArgs range)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
JsonValue... values)
|
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
String... jsonStrings)
Insert the JSON string values into the array at a given
JsonPath before the provided index. |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrlen(K key,
JsonPath jsonPath)
Report the length of the JSON array at a given
JsonPath |
AsyncExecutions<List<JsonValue>> |
NodeSelectionJsonAsyncCommands.jsonArrpop(K key,
JsonPath jsonPath)
|
AsyncExecutions<List<JsonValue>> |
NodeSelectionJsonAsyncCommands.jsonArrpop(K key,
JsonPath jsonPath,
int index)
|
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonArrtrim(K key,
JsonPath jsonPath,
JsonRangeArgs range)
Trim an array at a given
JsonPath so that it contains only the specified inclusive range of elements. |
AsyncExecutions<Long> |
NodeSelectionJsonAsyncCommands.jsonClear(K key,
JsonPath jsonPath)
Clear container values (arrays/objects) and set numeric values to 0
|
AsyncExecutions<Long> |
NodeSelectionJsonAsyncCommands.jsonDel(K key,
JsonPath jsonPath)
Deletes a value inside the JSON document at a given
JsonPath |
AsyncExecutions<List<JsonValue>> |
NodeSelectionJsonAsyncCommands.jsonGet(K key,
JsonGetArgs options,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
AsyncExecutions<List<JsonValue>> |
NodeSelectionJsonAsyncCommands.jsonGet(K key,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
AsyncExecutions<String> |
NodeSelectionJsonAsyncCommands.jsonMerge(K key,
JsonPath jsonPath,
JsonValue value)
|
AsyncExecutions<String> |
NodeSelectionJsonAsyncCommands.jsonMerge(K key,
JsonPath jsonPath,
String jsonString)
Merge a given JSON string with the value matching
JsonPath . |
AsyncExecutions<List<JsonValue>> |
NodeSelectionJsonAsyncCommands.jsonMGet(JsonPath jsonPath,
K... keys)
Return the values at the specified path from multiple key arguments.
|
AsyncExecutions<List<Number>> |
NodeSelectionJsonAsyncCommands.jsonNumincrby(K key,
JsonPath jsonPath,
Number number)
Increment the number value stored at the specified
JsonPath in the JSON document by the provided increment. |
AsyncExecutions<List<V>> |
NodeSelectionJsonAsyncCommands.jsonObjkeys(K key,
JsonPath jsonPath)
Return the keys in the JSON document that are referenced by the given
JsonPath |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonObjlen(K key,
JsonPath jsonPath)
Report the number of keys in the JSON object at the specified
JsonPath and for the provided key |
AsyncExecutions<String> |
NodeSelectionJsonAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
AsyncExecutions<String> |
NodeSelectionJsonAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
AsyncExecutions<String> |
NodeSelectionJsonAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
AsyncExecutions<String> |
NodeSelectionJsonAsyncCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonStrappend(K key,
JsonPath jsonPath,
JsonValue value)
Append the json-string values to the string at the provided
JsonPath in the JSON document. |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonStrappend(K key,
JsonPath jsonPath,
String jsonString)
Append the JSON string to the string at the provided
JsonPath in the JSON document. |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonStrlen(K key,
JsonPath jsonPath)
Report the length of the JSON String at the provided
JsonPath in the JSON document. |
AsyncExecutions<List<Long>> |
NodeSelectionJsonAsyncCommands.jsonToggle(K key,
JsonPath jsonPath)
Toggle a Boolean value stored at the provided
JsonPath in the JSON document. |
AsyncExecutions<List<JsonType>> |
NodeSelectionJsonAsyncCommands.jsonType(K key,
JsonPath jsonPath)
Report the type of JSON value at the provided
JsonPath in the JSON document. |
Modifier and Type | Method and Description |
---|---|
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrappend(K key,
JsonPath jsonPath,
JsonValue... values)
Append the JSON values into the array at a given
JsonPath after the last element in a said array. |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrappend(K key,
JsonPath jsonPath,
String... jsonStrings)
Append the JSON string values into the array at a given
JsonPath after the last element in a said array. |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value)
|
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrindex(K key,
JsonPath jsonPath,
JsonValue value,
JsonRangeArgs range)
|
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrindex(K key,
JsonPath jsonPath,
String jsonString,
JsonRangeArgs range)
Search for the first occurrence of a JSON string in an array at a given
JsonPath and return its index. |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
JsonValue... values)
|
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrinsert(K key,
JsonPath jsonPath,
int index,
String... jsonStrings)
Insert the JSON string values into the array at a given
JsonPath before the provided index. |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrlen(K key,
JsonPath jsonPath)
Report the length of the JSON array at a given
JsonPath |
Executions<List<JsonValue>> |
NodeSelectionJsonCommands.jsonArrpop(K key,
JsonPath jsonPath)
|
Executions<List<JsonValue>> |
NodeSelectionJsonCommands.jsonArrpop(K key,
JsonPath jsonPath,
int index)
|
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonArrtrim(K key,
JsonPath jsonPath,
JsonRangeArgs range)
Trim an array at a given
JsonPath so that it contains only the specified inclusive range of elements. |
Executions<Long> |
NodeSelectionJsonCommands.jsonClear(K key,
JsonPath jsonPath)
Clear container values (arrays/objects) and set numeric values to 0
|
Executions<Long> |
NodeSelectionJsonCommands.jsonDel(K key,
JsonPath jsonPath)
Deletes a value inside the JSON document at a given
JsonPath |
Executions<List<JsonValue>> |
NodeSelectionJsonCommands.jsonGet(K key,
JsonGetArgs options,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
Executions<List<JsonValue>> |
NodeSelectionJsonCommands.jsonGet(K key,
JsonPath... jsonPaths)
Return the value at the specified path in JSON serialized form.
|
Executions<String> |
NodeSelectionJsonCommands.jsonMerge(K key,
JsonPath jsonPath,
JsonValue value)
|
Executions<String> |
NodeSelectionJsonCommands.jsonMerge(K key,
JsonPath jsonPath,
String jsonString)
Merge a given JSON string with the value matching
JsonPath . |
Executions<List<JsonValue>> |
NodeSelectionJsonCommands.jsonMGet(JsonPath jsonPath,
K... keys)
Return the values at the specified path from multiple key arguments.
|
Executions<List<Number>> |
NodeSelectionJsonCommands.jsonNumincrby(K key,
JsonPath jsonPath,
Number number)
Increment the number value stored at the specified
JsonPath in the JSON document by the provided increment. |
Executions<List<V>> |
NodeSelectionJsonCommands.jsonObjkeys(K key,
JsonPath jsonPath)
Return the keys in the JSON document that are referenced by the given
JsonPath |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonObjlen(K key,
JsonPath jsonPath)
Report the number of keys in the JSON object at the specified
JsonPath and for the provided key |
Executions<String> |
NodeSelectionJsonCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
Executions<String> |
NodeSelectionJsonCommands.jsonSet(K key,
JsonPath jsonPath,
JsonValue value,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
Executions<String> |
NodeSelectionJsonCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString)
Sets the JSON value at a given
JsonPath in the JSON document using defaults for the JsonSetArgs . |
Executions<String> |
NodeSelectionJsonCommands.jsonSet(K key,
JsonPath jsonPath,
String jsonString,
JsonSetArgs options)
Sets the JSON value at a given
JsonPath in the JSON document. |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonStrappend(K key,
JsonPath jsonPath,
JsonValue value)
Append the json-string values to the string at the provided
JsonPath in the JSON document. |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonStrappend(K key,
JsonPath jsonPath,
String jsonString)
Append the JSON string to the string at the provided
JsonPath in the JSON document. |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonStrlen(K key,
JsonPath jsonPath)
Report the length of the JSON String at the provided
JsonPath in the JSON document. |
Executions<List<Long>> |
NodeSelectionJsonCommands.jsonToggle(K key,
JsonPath jsonPath)
Toggle a Boolean value stored at the provided
JsonPath in the JSON document. |
Executions<List<JsonType>> |
NodeSelectionJsonCommands.jsonType(K key,
JsonPath jsonPath)
Report the type of JSON value at the provided
JsonPath in the JSON document. |
Modifier and Type | Field and Description |
---|---|
static JsonPath |
JsonPath.ROOT_PATH
The root path
$ as defined by the second version of the RedisJSON implementation. |
static JsonPath |
JsonPath.ROOT_PATH_LEGACY
Deprecated.
since 6.5, use
ROOT_PATH instead. |
Modifier and Type | Method and Description |
---|---|
static JsonPath |
JsonPath.of(String path)
Create a new
JsonPath given a path string. |
Constructor and Description |
---|
JsonMsetArgs(K key,
JsonPath path,
JsonValue element)
|
Copyright © 2025 lettuce.io. All rights reserved.