| Package | Description |
|---|---|
| io.valkey | |
| io.valkey.commands |
This package contains the interfaces that contain methods representing Redis core commands.
|
| io.valkey.params |
This package contains the classes that represent optional parameters of core Redis commands.
|
| Modifier and Type | Method and Description |
|---|---|
CommandObject<List<byte[]>> |
CommandObjects.sort(byte[] key,
SortingParams sortingParams) |
Response<List<byte[]>> |
PipeliningBase.sort(byte[] key,
SortingParams sortingParams) |
List<byte[]> |
Jedis.sort(byte[] key,
SortingParams sortingParams)
Sort a Set or a List accordingly to the specified parameters.
|
List<byte[]> |
UnifiedJedis.sort(byte[] key,
SortingParams sortingParams) |
CommandObject<Long> |
CommandObjects.sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey) |
Response<Long> |
PipeliningBase.sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey) |
long |
Jedis.sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey)
Sort a Set or a List accordingly to the specified parameters and store the result at dstkey.
|
long |
UnifiedJedis.sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey) |
CommandObject<List<String>> |
CommandObjects.sort(String key,
SortingParams sortingParams) |
Response<List<String>> |
PipeliningBase.sort(String key,
SortingParams sortingParams) |
List<String> |
Jedis.sort(String key,
SortingParams sortingParams)
Sort a Set or a List accordingly to the specified parameters.
|
List<String> |
UnifiedJedis.sort(String key,
SortingParams sortingParams) |
CommandObject<Long> |
CommandObjects.sort(String key,
SortingParams sortingParams,
String dstkey) |
Response<Long> |
PipeliningBase.sort(String key,
SortingParams sortingParams,
String dstKey) |
long |
Jedis.sort(String key,
SortingParams sortingParams,
String dstkey)
Sort a Set or a List accordingly to the specified parameters and store the result at dstkey.
|
long |
UnifiedJedis.sort(String key,
SortingParams sortingParams,
String dstkey) |
CommandObject<List<byte[]>> |
CommandObjects.sortReadonly(byte[] key,
SortingParams sortingParams) |
Response<List<byte[]>> |
PipeliningBase.sortReadonly(byte[] key,
SortingParams sortingParams) |
List<byte[]> |
Jedis.sortReadonly(byte[] key,
SortingParams sortingParams) |
List<byte[]> |
UnifiedJedis.sortReadonly(byte[] key,
SortingParams sortingParams) |
CommandObject<List<String>> |
CommandObjects.sortReadonly(String key,
SortingParams sortingParams) |
Response<List<String>> |
PipeliningBase.sortReadonly(String key,
SortingParams sortingParams) |
List<String> |
Jedis.sortReadonly(String key,
SortingParams sortingParams) |
List<String> |
UnifiedJedis.sortReadonly(String key,
SortingParams sortingParams) |
| Modifier and Type | Method and Description |
|---|---|
Response<List<byte[]>> |
KeyPipelineBinaryCommands.sort(byte[] key,
SortingParams sortingParams) |
List<byte[]> |
KeyBinaryCommands.sort(byte[] key,
SortingParams sortingParams) |
Response<Long> |
KeyPipelineBinaryCommands.sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey) |
long |
KeyBinaryCommands.sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey) |
Response<List<String>> |
KeyPipelineCommands.sort(String key,
SortingParams sortingParams) |
List<String> |
KeyCommands.sort(String key,
SortingParams sortingParameters)
Sort a Set or a List accordingly to the specified parameters.
|
Response<Long> |
KeyPipelineCommands.sort(String key,
SortingParams sortingParams,
String dstkey) |
long |
KeyCommands.sort(String key,
SortingParams sortingParameters,
String dstkey)
Similar to
SORT but store the result in dstkey. |
Response<List<byte[]>> |
KeyPipelineBinaryCommands.sortReadonly(byte[] key,
SortingParams sortingParams) |
List<byte[]> |
KeyBinaryCommands.sortReadonly(byte[] key,
SortingParams sortingParams) |
Response<List<String>> |
KeyPipelineCommands.sortReadonly(String key,
SortingParams sortingParams) |
List<String> |
KeyCommands.sortReadonly(String key,
SortingParams sortingParams)
Read-only variant of the
SORT command. |
| Modifier and Type | Method and Description |
|---|---|
SortingParams |
SortingParams.alpha()
Sort lexicographicaly.
|
SortingParams |
SortingParams.asc()
Get the Sorting in Ascending Order.
|
SortingParams |
SortingParams.by(byte[] pattern)
Sort by weight in keys.
|
SortingParams |
SortingParams.by(String pattern)
Sort by weight in keys.
|
SortingParams |
SortingParams.desc()
Get the Sorting in Descending Order.
|
SortingParams |
SortingParams.get(byte[]... patterns)
Retrieving external keys from the result of the search.
|
SortingParams |
SortingParams.get(String... patterns)
Retrieving external keys from the result of the search.
|
SortingParams |
SortingParams.limit(int start,
int count)
Limit the Numbers of returned Elements.
|
SortingParams |
SortingParams.nosort()
No sorting.
|
SortingParams |
SortingParams.sortingOrder(SortingOrder order)
Get by the Sorting Order.
|
Copyright © 2024. All rights reserved.