| Modifier and Type | Class and Description |
|---|---|
static class |
SearchArgs.Builder<K>
Builder for
SearchArgs. |
| Constructor and Description |
|---|
SearchArgs() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(CommandArgs<K,?> args)
Build a
CommandArgs object that contains all the arguments. |
static <K> SearchArgs.Builder<K> |
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> SearchArgs.Builder<K> builder()
SearchArgs.K - the key 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,?> args)
CommandArgs object that contains all the arguments.args - the CommandArgs objectCopyright © 2026 lettuce.io. All rights reserved.