Package glide.api.models.commands.scan
Class ZScanOptionsBinary
- java.lang.Object
-
- glide.api.models.commands.scan.BaseScanOptionsBinary
-
- glide.api.models.commands.scan.ZScanOptionsBinary
-
public class ZScanOptionsBinary extends BaseScanOptionsBinary
Optional arguments forSortedSetBaseCommands.zscan(GlideString, GlideString, ZScanOptionsBinary).- See Also:
- valkey.io
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classZScanOptionsBinary.ZScanOptionsBinaryBuilder<C extends ZScanOptionsBinary,B extends ZScanOptionsBinary.ZScanOptionsBinaryBuilder<C,B>>-
Nested classes/interfaces inherited from class glide.api.models.commands.scan.BaseScanOptionsBinary
BaseScanOptionsBinary.BaseScanOptionsBinaryBuilder<C extends BaseScanOptionsBinary,B extends BaseScanOptionsBinary.BaseScanOptionsBinaryBuilder<C,B>>
-
-
Field Summary
Fields Modifier and Type Field Description static GlideStringNO_SCORES_APIOption string to include in the ZSCAN command when scores are not included.protected booleannoScoresWhen set to true, the command will not include scores in the results.-
Fields inherited from class glide.api.models.commands.scan.BaseScanOptionsBinary
COUNT_OPTION_GLIDE_STRING, MATCH_OPTION_GLIDE_STRING
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedZScanOptionsBinary(ZScanOptionsBinary.ZScanOptionsBinaryBuilder<?,?> b)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZScanOptionsBinary.ZScanOptionsBinaryBuilder<?,?>builder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)inthashCode()java.lang.String[]toArgs()Creates the arguments to be used inZSCANcommands.
-
-
-
Field Detail
-
NO_SCORES_API
public static final GlideString NO_SCORES_API
Option string to include in the ZSCAN command when scores are not included.
-
noScores
protected boolean noScores
When set to true, the command will not include scores in the results. This option is available from Valkey version 8.0.0 and above.
-
-
Constructor Detail
-
ZScanOptionsBinary
protected ZScanOptionsBinary(ZScanOptionsBinary.ZScanOptionsBinaryBuilder<?,?> b)
-
-
Method Detail
-
toArgs
public java.lang.String[] toArgs()
Creates the arguments to be used inZSCANcommands.- Overrides:
toArgsin classBaseScanOptionsBinary- Returns:
- a String array that holds the options and their arguments.
-
builder
public static ZScanOptionsBinary.ZScanOptionsBinaryBuilder<?,?> builder()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-