Class StatsAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.FormatMetricAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.StatsAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable public class StatsAggregation extends FormatMetricAggregationBase implements AggregationVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatsAggregation.BuilderBuilder forStatsAggregation.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<StatsAggregation>_DESERIALIZERJson deserializer forStatsAggregation -
Method Summary
Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.static StatsAggregationof(java.util.function.Function<StatsAggregation.Builder,ObjectBuilder<StatsAggregation>> fn)protected static voidsetupStatsAggregationDeserializer(ObjectDeserializer<StatsAggregation.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.FormatMetricAggregationBase
format, serializeInternal, setupFormatMetricAggregationBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializer, 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 forStatsAggregation
-
-
Method Details
-
of
public static StatsAggregation of(java.util.function.Function<StatsAggregation.Builder,ObjectBuilder<StatsAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
setupStatsAggregationDeserializer
protected static void setupStatsAggregationDeserializer(ObjectDeserializer<StatsAggregation.Builder> op)
-