| Modifier and Type | Class and Description |
|---|---|
static class |
SearchArgs.Builder<K,V>
Builder for
SearchArgs. |
| Constructor and Description |
|---|
SearchArgs() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(CommandArgs<K,V> args)
Build a
CommandArgs object that contains all the arguments. |
static <K,V> SearchArgs.Builder<K,V> |
builder()
Used to build a new instance of the
SearchArgs. |
boolean |
isNoContent()
Gets whether the NOCONTENT option is enabled.
|
boolean |
isWithScores()
Gets whether the WITHSCORES option is enabled.
|
boolean |
isWithSortKeys()
Gets whether the WITHSORTKEYS option is enabled.
|
public static <K,V> SearchArgs.Builder<K,V> builder()
SearchArgs.K - the key typeV - the value typeSearchArgs.Builder that provides the option to build up a new instance of the SearchArgspublic boolean isNoContent()
public boolean isWithScores()
public boolean isWithSortKeys()
public void build(CommandArgs<K,V> args)
CommandArgs object that contains all the arguments.args - the CommandArgs objectCopyright © 2025 lettuce.io. All rights reserved.