Class BoxplotAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase.AbstractBuilder<BoxplotAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.BoxplotAggregation.Builder
- All Implemented Interfaces:
WithJson<BoxplotAggregation.Builder>,ObjectBuilder<BoxplotAggregation>
- Enclosing class:
- BoxplotAggregation
public static class BoxplotAggregation.Builder
extends MetricAggregationBase.AbstractBuilder<BoxplotAggregation.Builder>
implements ObjectBuilder<BoxplotAggregation>
Builder for
BoxplotAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aBoxplotAggregation.compression(Double value) Limits the maximum number of nodes used by the underlying TDigest algorithm to20 * compression, enabling control of memory usage and approximation error.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).protected BoxplotAggregation.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase.AbstractBuilder
field, missing, missing, missing, missing, missing, missing, script, scriptMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 -
self
- Specified by:
selfin classMetricAggregationBase.AbstractBuilder<BoxplotAggregation.Builder>
-
build
Builds aBoxplotAggregation.- Specified by:
buildin interfaceObjectBuilder<BoxplotAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-