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.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 -
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.
-