K - Key type.V - Value type.public static class PostProcessingArgs.Limit<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.Limit<K,V> |
of(long offset,
long num)
Static factory method to create a Limit instance.
|
public void build(CommandArgs<K,V> args)
PostProcessingArgs.PostProcessingOperationbuild in interface PostProcessingArgs.PostProcessingOperation<K,V>args - the command args to build intopublic static <K,V> PostProcessingArgs.Limit<K,V> of(long offset, long num)
K - Key typeV - Value typeoffset - the zero-based starting indexnum - the maximum number of results to returnCopyright © 2025 lettuce.io. All rights reserved.