Class WeightedAvgAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.SingleMetricAggregateBase
co.elastic.clients.elasticsearch._types.aggregations.WeightedAvgAggregate
- All Implemented Interfaces:
AggregateVariant
,JsonpSerializable
@JsonpDeserializable
public class WeightedAvgAggregate
extends SingleMetricAggregateBase
implements AggregateVariant
Weighted average aggregation result.
value
is missing if the
weight was set to zero.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.SingleMetricAggregateBase
SingleMetricAggregateBase.AbstractBuilder<BuilderT extends SingleMetricAggregateBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<WeightedAvgAggregate>
Json deserializer forWeightedAvgAggregate
-
Method Summary
Modifier and TypeMethodDescriptionAggregate variant kind.static WeightedAvgAggregate
protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.SingleMetricAggregateBase
serializeInternal, setupSingleMetricAggregateBaseDeserializer, value, valueAsString
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregateVariant
_toAggregate
-
Field Details
-
_DESERIALIZER
Json deserializer forWeightedAvgAggregate
-
-
Method Details
-
of
public static WeightedAvgAggregate of(Function<WeightedAvgAggregate.Builder, ObjectBuilder<WeightedAvgAggregate>> fn) -
_aggregateKind
Aggregate variant kind.- Specified by:
_aggregateKind
in interfaceAggregateVariant
-
setupWeightedAvgAggregateDeserializer
protected static void setupWeightedAvgAggregateDeserializer(ObjectDeserializer<WeightedAvgAggregate.Builder> op)
-