Package glide.api.models.commands.scan
Class ZScanOptions.ZScanOptionsBuilder<C extends ZScanOptions,B extends ZScanOptions.ZScanOptionsBuilder<C,B>>
- java.lang.Object
-
- glide.api.models.commands.scan.BaseScanOptions.BaseScanOptionsBuilder<C,B>
-
- glide.api.models.commands.scan.ZScanOptions.ZScanOptionsBuilder<C,B>
-
- Enclosing class:
- ZScanOptions
public abstract static class ZScanOptions.ZScanOptionsBuilder<C extends ZScanOptions,B extends ZScanOptions.ZScanOptionsBuilder<C,B>> extends BaseScanOptions.BaseScanOptionsBuilder<C,B>
-
-
Constructor Summary
Constructors Constructor Description ZScanOptionsBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Cbuild()BnoScores(boolean noScores)When set to true, the command will not include scores in the results.protected abstract Bself()java.lang.StringtoString()-
Methods inherited from class glide.api.models.commands.scan.BaseScanOptions.BaseScanOptionsBuilder
count, matchPattern, matchPatternBinary
-
-
-
-
Method Detail
-
noScores
public B noScores(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.- Returns:
this.
-
self
protected abstract B self()
- Specified by:
selfin classBaseScanOptions.BaseScanOptionsBuilder<C extends ZScanOptions,B extends ZScanOptions.ZScanOptionsBuilder<C,B>>
-
build
public abstract C build()
- Specified by:
buildin classBaseScanOptions.BaseScanOptionsBuilder<C extends ZScanOptions,B extends ZScanOptions.ZScanOptionsBuilder<C,B>>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBaseScanOptions.BaseScanOptionsBuilder<C extends ZScanOptions,B extends ZScanOptions.ZScanOptionsBuilder<C,B>>
-
-