Class TDigest
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.TDigest
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TDigest>Json deserializer forTDigest -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerLimits the maximum number of nodes used by the underlying TDigest algorithm to20 * compression, enabling control of memory usage and approximation error.final TDigestExecutionHintThe default implementation of TDigest is optimized for performance, scaling to millions or even billions of sample values while maintaining acceptable accuracy levels (close to 1% relative error for millions of samples in some cases).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 voidtoString()
-
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 -
executionHint
The default implementation of TDigest is optimized for performance, scaling to millions or even billions of sample values while maintaining acceptable accuracy levels (close to 1% relative error for millions of samples in some cases). To use an implementation optimized for accuracy, set this parameter to high_accuracy instead.API name:
execution_hint -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTDigestDeserializer
-