K - Key type.public static class PostProcessingArgs.SortBy<K> extends Object implements PostProcessingArgs.PostProcessingOperation<K,Object>
| Constructor and Description |
|---|
SortBy(List<PostProcessingArgs.SortProperty<K>> properties)
Creates a new SORTBY operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(CommandArgs<K,Object> args)
Build the operation arguments into the command args.
|
static <K> PostProcessingArgs.SortBy<K> |
of(PostProcessingArgs.SortProperty<K>... properties)
Static factory method to create a SortBy instance with multiple properties.
|
public SortBy(List<PostProcessingArgs.SortProperty<K>> properties)
properties - the properties to sort by@SafeVarargs public static <K> PostProcessingArgs.SortBy<K> of(PostProcessingArgs.SortProperty<K>... properties)
K - Key typeproperties - the properties to sort bypublic void build(CommandArgs<K,Object> args)
PostProcessingArgs.PostProcessingOperationbuild in interface PostProcessingArgs.PostProcessingOperation<K,Object>args - the command args to build intoCopyright © 2025 lettuce.io. All rights reserved.