Package glide.api.models.commands
Class LPosOptions
- java.lang.Object
-
- glide.api.models.commands.LPosOptions
-
public final class LPosOptions extends java.lang.ObjectOptional arguments toListBaseCommands.lpos(String, String, LPosOptions)andListBaseCommands.lposCount(String, String, long)command.- See Also:
- valkey.io
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLPosOptions.LPosOptionsBuilder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOUNT_VALKEY_APIValkey API keyword used to extract specific number of matching indices from a list.static java.lang.StringMAXLEN_VALKEY_APIValkey API keyword used to determine the maximum number of list items to compare.static java.lang.StringRANK_VALKEY_APIValkey API keyword use to determine the rank of the match to return.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LPosOptions.LPosOptionsBuilderbuilder()java.lang.String[]toArgs()Converts LPosOptions into a String[].
-
-
-
Field Detail
-
COUNT_VALKEY_API
public static final java.lang.String COUNT_VALKEY_API
Valkey API keyword used to extract specific number of matching indices from a list.- See Also:
- Constant Field Values
-
RANK_VALKEY_API
public static final java.lang.String RANK_VALKEY_API
Valkey API keyword use to determine the rank of the match to return.- See Also:
- Constant Field Values
-
MAXLEN_VALKEY_API
public static final java.lang.String MAXLEN_VALKEY_API
Valkey API keyword used to determine the maximum number of list items to compare.- See Also:
- Constant Field Values
-
-
Method Detail
-
toArgs
public java.lang.String[] toArgs()
Converts LPosOptions into a String[].- Returns:
- String[]
-
builder
public static LPosOptions.LPosOptionsBuilder builder()
-
-