Class TDigest
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.TDigest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<TDigest.Builder,TDigest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class TDigest
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<TDigest.Builder,TDigest>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TDigest> Json deserializer forTDigest -
Method Summary
Modifier and TypeMethodDescriptionstatic TDigest.Builderbuilder()final IntegerLimits the maximum number of nodes used by the underlying TDigest algorithm to20 * compression, enabling control of memory usage and approximation error.booleaninthashCode()static TDigestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forTDigest
-
-
Method Details
-
of
-
compression
Limits the maximum number of nodes used by the underlying TDigest algorithm to20 * compression, enabling control of memory usage and approximation error.API name:
compression -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TDigest.Builder,TDigest> - Returns:
- a new builder instance.
-
builder
-
setupTDigestDeserializer
-
hashCode
public int hashCode() -
equals
-