java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.TDigest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class TDigest extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • compression

      @Nullable public final Integer compression()
      Limits the maximum number of nodes used by the underlying TDigest algorithm to 20 * compression, enabling control of memory usage and approximation error.

      API name: compression

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupTDigestDeserializer

      protected static void setupTDigestDeserializer(ObjectDeserializer<TDigest.Builder> op)