Class PercentilesAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.FormatMetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.PercentilesAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable
public class PercentilesAggregation
extends FormatMetricAggregationBase
implements AggregationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.FormatMetricAggregationBase
FormatMetricAggregationBase.AbstractBuilder<BuilderT extends FormatMetricAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PercentilesAggregation>Json deserializer forPercentilesAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.final HdrMethodhdr()Uses the alternative High Dynamic Range Histogram algorithm to calculate percentiles.final Booleankeyed()By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array.static PercentilesAggregationpercents()The percentiles to calculate.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal TDigesttdigest()Sets parameters for the default TDigest algorithm used to calculate percentiles.Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.FormatMetricAggregationBase
format, setupFormatMetricAggregationBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forPercentilesAggregation
-
-
Method Details
-
of
public static PercentilesAggregation of(Function<PercentilesAggregation.Builder, ObjectBuilder<PercentilesAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
keyed
By default, the aggregation associates a unique string key with each bucket and returns the ranges as a hash rather than an array. Set tofalseto disable this behavior.API name:
keyed -
percents
The percentiles to calculate.API name:
percents -
hdr
Uses the alternative High Dynamic Range Histogram algorithm to calculate percentiles.API name:
hdr -
tdigest
Sets parameters for the default TDigest algorithm used to calculate percentiles.API name:
tdigest -
serializeInternal
- Overrides:
serializeInternalin classFormatMetricAggregationBase
-
setupPercentilesAggregationDeserializer
protected static void setupPercentilesAggregationDeserializer(ObjectDeserializer<PercentilesAggregation.Builder> op)
-