Class TDigest
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.TDigest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class TDigest extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDigest.BuilderBuilder forTDigest. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TDigest>_DESERIALIZERJson deserializer forTDigest -
Constructor Summary
Constructors Constructor Description TDigest(TDigest.Builder builder)TDigest(java.util.function.Function<TDigest.Builder,TDigest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Integercompression()API name:compressionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTDigestDeserializer(DelegatingDeserializer<TDigest.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTDigest
-
-
Constructor Details
-
TDigest
-
TDigest
-
-
Method Details
-
compression
@Nullable public java.lang.Integer compression()API name:compression -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTDigestDeserializer
-