Class StatsAggregation
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.StatsAggregation
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,AggregationVariant
@JsonpDeserializable public class StatsAggregation extends FormatMetricAggregationBase implements AggregationVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StatsAggregation.Builder
Builder forStatsAggregation
.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase
FormatMetricAggregationBase.AbstractBuilder<BuilderT extends FormatMetricAggregationBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<StatsAggregation>
_DESERIALIZER
Json deserializer forStatsAggregation
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregation.Kind
_aggregationKind()
Aggregation variant kind.static StatsAggregation
of(java.util.function.Function<StatsAggregation.Builder,ObjectBuilder<StatsAggregation>> fn)
protected static void
setupStatsAggregationDeserializer(ObjectDeserializer<StatsAggregation.Builder> op)
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase
format, serializeInternal, setupFormatMetricAggregationBaseDeserializer
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializer
-
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
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<StatsAggregation> _DESERIALIZER
Json deserializer forStatsAggregation
-
-
Method Detail
-
of
public static StatsAggregation of(java.util.function.Function<StatsAggregation.Builder,ObjectBuilder<StatsAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _aggregationKind()
Aggregation variant kind.- Specified by:
_aggregationKind
in interfaceAggregationVariant
-
setupStatsAggregationDeserializer
protected static void setupStatsAggregationDeserializer(ObjectDeserializer<StatsAggregation.Builder> op)
-
-