K - Key type.V - Value type.public static class PostProcessingArgs.Filter<K,V> extends Object implements PostProcessingArgs.PostProcessingOperation<K,V>
| Constructor and Description |
|---|
Filter(V expression)
Creates a new FILTER operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(CommandArgs<K,V> args)
Build the operation arguments into the command args.
|
static <K,V> PostProcessingArgs.Filter<K,V> |
of(V expression)
Static factory method to create a Filter instance.
|
public Filter(V expression)
expression - the filter expression (e.g., "@price > 100", "@category == 'electronics'")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.Filter<K,V> of(V expression)
K - Key typeV - Value typeexpression - the filter expressionCopyright © 2025 lettuce.io. All rights reserved.