Class WeightedAverageAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregationBase
org.opensearch.client.opensearch._types.aggregations.WeightedAverageAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<WeightedAverageAggregation.Builder,WeightedAverageAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class WeightedAverageAggregation
extends AggregationBase
implements AggregationVariant, ToCopyableBuilder<WeightedAverageAggregation.Builder,WeightedAverageAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
AggregationBase.AbstractBuilder<BuilderT extends AggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<WeightedAverageAggregation> Json deserializer forWeightedAverageAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.builder()booleanfinal Stringformat()A numeric response formatter.inthashCode()static WeightedAverageAggregationprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupWeightedAverageAggregationDeserializer(ObjectDeserializer<WeightedAverageAggregation.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final WeightedAverageValuevalue()API name:valuefinal ValueTypeAPI name:value_typefinal WeightedAverageValueweight()API name:weightMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializerMethods 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 forWeightedAverageAggregation
-
-
Method Details
-
of
public static WeightedAverageAggregation of(Function<WeightedAverageAggregation.Builder, ObjectBuilder<WeightedAverageAggregation>> fn) -
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
format
A numeric response formatter.API name:
format -
value
API name:value -
valueType
API name:value_type -
weight
API name:weight -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<WeightedAverageAggregation.Builder,WeightedAverageAggregation> - Returns:
- a new builder instance.
-
builder
-
setupWeightedAverageAggregationDeserializer
protected static void setupWeightedAverageAggregationDeserializer(ObjectDeserializer<WeightedAverageAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classAggregationBase
-
equals
- Overrides:
equalsin classAggregationBase
-