Class WeightedAverageAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.WeightedAverageAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable
public class WeightedAverageAggregation
extends AggregationBase
implements AggregationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._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 TypeMethodDescriptionAggregation variant kind.final Stringformat()A numeric response formatter.static WeightedAverageAggregationprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupWeightedAverageAggregationDeserializer(ObjectDeserializer<WeightedAverageAggregation.Builder> op) final WeightedAverageValuevalue()Configuration for the field that provides the values.final ValueTypeAPI name:value_typefinal WeightedAverageValueweight()Configuration for the field or script that provides the weights.Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer, 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 forWeightedAverageAggregation
-
-
Method Details
-
of
public static WeightedAverageAggregation of(Function<WeightedAverageAggregation.Builder, ObjectBuilder<WeightedAverageAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
format
A numeric response formatter.API name:
format -
value
Configuration for the field that provides the values.API name:
value -
valueType
API name:value_type -
weight
Configuration for the field or script that provides the weights.API name:
weight -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
setupWeightedAverageAggregationDeserializer
protected static void setupWeightedAverageAggregationDeserializer(ObjectDeserializer<WeightedAverageAggregation.Builder> op)
-