Class TDigest
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.TDigest
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<TDigest>
Json deserializer forTDigest
-
Method Summary
Modifier and TypeMethodDescriptionfinal Integer
Limits the maximum number of nodes used by the underlying TDigest algorithm to20 * compression
, enabling control of memory usage and approximation error.static TDigest
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTDigestDeserializer
-