Class TDigest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TDigest.Builder>
co.elastic.clients.elasticsearch._types.aggregations.TDigest.Builder
- All Implemented Interfaces:
WithJson<TDigest.Builder>,ObjectBuilder<TDigest>
- Enclosing class:
- TDigest
public static class TDigest.Builder extends WithJsonObjectBuilderBase<TDigest.Builder> implements ObjectBuilder<TDigest>
Builder for
TDigest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TDigestbuild()Builds aTDigest.TDigest.Buildercompression(java.lang.Integer value)API name:compressionprotected TDigest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
compression
API name:compression -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TDigest.Builder>
-
build
Builds aTDigest.- Specified by:
buildin interfaceObjectBuilder<TDigest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-