Class PercentileRanksAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase
org.opensearch.client.opensearch._types.aggregations.PercentileRanksAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<PercentileRanksAggregation.Builder,PercentileRanksAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PercentileRanksAggregation
extends FormatMetricAggregationBase
implements AggregationVariant, ToCopyableBuilder<PercentileRanksAggregation.Builder,PercentileRanksAggregation>
-
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<PercentileRanksAggregation> Json deserializer forPercentileRanksAggregation -
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 PercentileRanksAggregationprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupPercentileRanksAggregationDeserializer(ObjectDeserializer<PercentileRanksAggregation.Builder> op) final TDigesttdigest()API name:tdigestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.values()An array of values for which to calculate the percentile ranks.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 forPercentileRanksAggregation
-
-
Method Details
-
of
public static PercentileRanksAggregation of(Function<PercentileRanksAggregation.Builder, ObjectBuilder<PercentileRanksAggregation>> 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 -
tdigest
API name:tdigest -
values
An array of values for which to calculate the percentile ranks.API name:
values -
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<PercentileRanksAggregation.Builder,PercentileRanksAggregation> - Returns:
- a new builder instance.
-
builder
-
setupPercentileRanksAggregationDeserializer
protected static void setupPercentileRanksAggregationDeserializer(ObjectDeserializer<PercentileRanksAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classFormatMetricAggregationBase
-
equals
- Overrides:
equalsin classFormatMetricAggregationBase
-