Class MetricAggregationBase
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
- Direct Known Subclasses:
BoxplotAggregation,CardinalityAggregation,FormatMetricAggregationBase,FormattableMetricAggregation,GeoBoundsAggregation,GeoCentroidAggregation,ScriptedMetricAggregation,TopHitsAggregation
@Generated("org.opensearch.client.codegen.CodeGenerator")
public abstract class MetricAggregationBase
extends Object
implements PlainJsonSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMetricAggregationBase.AbstractBuilder<BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal Stringfield()API name:fieldinthashCode()final FieldValuemissing()API name:missingfinal Scriptscript()API name:scriptvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>>
voidsetupMetricAggregationBaseDeserializer(ObjectDeserializer<BuilderT> op) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Constructor Details
-
MetricAggregationBase
-
-
Method Details
-
field
API name:field -
missing
API name:missing -
script
API name:script -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMetricAggregationBaseDeserializer
protected static <BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>> void setupMetricAggregationBaseDeserializer(ObjectDeserializer<BuilderT> op) -
hashCode
public int hashCode() -
equals
-