Class PercentilesAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase
org.opensearch.client.opensearch._types.aggregations.PercentilesAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<PercentilesAggregation.Builder,PercentilesAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PercentilesAggregation
extends FormatMetricAggregationBase
implements AggregationVariant, ToCopyableBuilder<PercentilesAggregation.Builder,PercentilesAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._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 TypeMethodDescriptionAggregationvariant kind.builder()booleaninthashCode()final HdrMethodhdr()API name:hdrfinal 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()API name:tdigestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase
format, setupFormatMetricAggregationBaseDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
toAggregationMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forPercentilesAggregation
-
-
Method Details
-
of
public static PercentilesAggregation of(Function<PercentilesAggregation.Builder, ObjectBuilder<PercentilesAggregation>> fn) -
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
hdr
API name:hdr -
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 -
tdigest
API name:tdigest -
serializeInternal
- Overrides:
serializeInternalin classFormatMetricAggregationBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PercentilesAggregation.Builder,PercentilesAggregation> - Returns:
- a new builder instance.
-
builder
-
setupPercentilesAggregationDeserializer
protected static void setupPercentilesAggregationDeserializer(ObjectDeserializer<PercentilesAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classFormatMetricAggregationBase
-
equals
- Overrides:
equalsin classFormatMetricAggregationBase
-