Class WeightedAverageAggregation
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.WeightedAverageAggregation
-
- All Implemented Interfaces:
JsonpSerializable,AggregationVariant
@JsonpDeserializable public class WeightedAverageAggregation extends AggregationBase implements AggregationVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWeightedAverageAggregation.BuilderBuilder forWeightedAverageAggregation.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
AggregationBase.AbstractBuilder<BuilderT extends AggregationBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WeightedAverageAggregation>_DESERIALIZERJson deserializer forWeightedAverageAggregation
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.java.lang.Stringformat()API name:formatstatic WeightedAverageAggregationof(java.util.function.Function<WeightedAverageAggregation.Builder,ObjectBuilder<WeightedAverageAggregation>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupWeightedAverageAggregationDeserializer(ObjectDeserializer<WeightedAverageAggregation.Builder> op)WeightedAverageValuevalue()API name:valueValueTypevalueType()API name:value_typeWeightedAverageValueweight()API name:weight-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
_toAggregation
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<WeightedAverageAggregation> _DESERIALIZER
Json deserializer forWeightedAverageAggregation
-
-
Method Detail
-
of
public static WeightedAverageAggregation of(java.util.function.Function<WeightedAverageAggregation.Builder,ObjectBuilder<WeightedAverageAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _aggregationKind()
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
format
@Nullable public final java.lang.String format()
API name:format
-
value
@Nullable public final WeightedAverageValue value()
API name:value
-
valueType
@Nullable public final ValueType valueType()
API name:value_type
-
weight
@Nullable public final WeightedAverageValue weight()
API name:weight
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classAggregationBase
-
setupWeightedAverageAggregationDeserializer
protected static void setupWeightedAverageAggregationDeserializer(ObjectDeserializer<WeightedAverageAggregation.Builder> op)
-
-