Class AverageAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.FormatMetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.AverageAggregation
- All Implemented Interfaces:
AggregationVariant
,JsonpSerializable
@JsonpDeserializable public class AverageAggregation extends FormatMetricAggregationBase implements AggregationVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AverageAggregation.Builder
Builder forAverageAggregation
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.FormatMetricAggregationBase
FormatMetricAggregationBase.AbstractBuilder<BuilderT extends FormatMetricAggregationBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AverageAggregation>
_DESERIALIZER
Json deserializer forAverageAggregation
-
Method Summary
Modifier and Type Method Description Aggregation.Kind
_aggregationKind()
Aggregation variant kind.static AverageAggregation
of(java.util.function.Function<AverageAggregation.Builder,ObjectBuilder<AverageAggregation>> fn)
protected static void
setupAverageAggregationDeserializer(ObjectDeserializer<AverageAggregation.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.FormatMetricAggregationBase
format, serializeInternal, setupFormatMetricAggregationBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializer, 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.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forAverageAggregation
-
-
Method Details
-
of
public static AverageAggregation of(java.util.function.Function<AverageAggregation.Builder,ObjectBuilder<AverageAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKind
in interfaceAggregationVariant
-
setupAverageAggregationDeserializer
protected static void setupAverageAggregationDeserializer(ObjectDeserializer<AverageAggregation.Builder> op)
-