Class AverageAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase
org.opensearch.client.opensearch._types.aggregations.AverageAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<AverageAggregation.Builder,AverageAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AverageAggregation
extends FormatMetricAggregationBase
implements AggregationVariant, ToCopyableBuilder<AverageAggregation.Builder,AverageAggregation>
-
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<AverageAggregation> Json deserializer forAverageAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.static AverageAggregation.Builderbuilder()booleaninthashCode()static AverageAggregationprotected 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 forAverageAggregation
-
-
Method Details
-
of
public static AverageAggregation of(Function<AverageAggregation.Builder, ObjectBuilder<AverageAggregation>> 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<AverageAggregation.Builder,AverageAggregation> - Returns:
- a new builder instance.
-
builder
-
setupAverageAggregationDeserializer
protected static void setupAverageAggregationDeserializer(ObjectDeserializer<AverageAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classFormatMetricAggregationBase
-
equals
- Overrides:
equalsin classFormatMetricAggregationBase
-