K - Key type.V - Value type.public static class PostProcessingArgs.GroupBy<K,V> extends Object implements PostProcessingArgs.PostProcessingOperation<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
build(CommandArgs<K,V> args)
Build the operation arguments into the command args.
|
static <K,V> PostProcessingArgs.GroupBy<K,V> |
of(K... properties)
Static factory method to create a GroupBy instance.
|
PostProcessingArgs.GroupBy<K,V> |
reduce(PostProcessingArgs.Reducer<K,V> reducer)
Add a reducer to this GROUPBY operation.
|
public PostProcessingArgs.GroupBy<K,V> reduce(PostProcessingArgs.Reducer<K,V> reducer)
reducer - the reducer to add@SafeVarargs public static <K,V> PostProcessingArgs.GroupBy<K,V> of(K... properties)
K - Key typeV - Value typeproperties - the properties to group bypublic void build(CommandArgs<K,V> args)
PostProcessingArgs.PostProcessingOperationbuild in interface PostProcessingArgs.PostProcessingOperation<K,V>args - the command args to build intoCopyright © 2025 lettuce.io. All rights reserved.