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,ToCopyableBuilder<StatsAggregation.Builder,StatsAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class StatsAggregation
extends FormatMetricAggregationBase
implements AggregationVariant, ToCopyableBuilder<StatsAggregation.Builder,StatsAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase
FormatMetricAggregationBase.AbstractBuilder<BuilderT extends FormatMetricAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<StatsAggregation> Json deserializer forStatsAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.static StatsAggregation.Builderbuilder()booleaninthashCode()static StatsAggregationprotected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase
format, serializeInternal, setupFormatMetricAggregationBaseDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
toAggregationMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forStatsAggregation
-
-
Method Details
-
of
public static StatsAggregation of(Function<StatsAggregation.Builder, ObjectBuilder<StatsAggregation>> fn) -
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StatsAggregation.Builder,StatsAggregation> - Returns:
- a new builder instance.
-
builder
-
setupStatsAggregationDeserializer
protected static void setupStatsAggregationDeserializer(ObjectDeserializer<StatsAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classFormatMetricAggregationBase
-
equals
- Overrides:
equalsin classFormatMetricAggregationBase
-