public class TDigestMergeArgs extends Object implements CompositeArgument
TDigestMergeArgs is a mutable object and instances should be used only once to avoid shared mutable state.
| Modifier and Type | Class and Description |
|---|---|
static class |
TDigestMergeArgs.Builder
Builder entry points for
TDigestMergeArgs. |
| Constructor and Description |
|---|
TDigestMergeArgs() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
build(CommandArgs<K,V> args)
Build command arguments and contribute arguments to
CommandArgs. |
TDigestMergeArgs |
compression(long compression)
Set the compression of the destination sketch.
|
TDigestMergeArgs |
override()
Reset the destination sketch before the merge so that only the source data is retained.
|
public TDigestMergeArgs compression(long compression)
compression - the compression parameter of the destination sketch.this TDigestMergeArgs.public TDigestMergeArgs override()
this TDigestMergeArgs.public <K,V> void build(CommandArgs<K,V> args)
CompositeArgumentCommandArgs.
Implementing classes are required to implement this method. Depending on the command nature and configured arguments, this method may contribute arguments but is not required to add arguments if none are specified.
build in interface CompositeArgumentK - Key type.V - Value type.args - the command arguments, must not be null.Copyright © 2026 lettuce.io. All rights reserved.