Class MetricAggregationBase
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
BoxplotAggregation
,CardinalityAggregation
,FormatMetricAggregationBase
,FormattableMetricAggregation
,GeoBoundsAggregation
,GeoCentroidAggregation
,ScriptedMetricAggregation
,StringStatsAggregation
,TopHitsAggregation
,TopMetricsAggregation
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
MetricAggregationBase.AbstractBuilder<BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>>
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
field()
API name:field
final FieldValue
missing()
API name:missing
final Script
script()
API name:script
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>>
voidsetupMetricAggregationBaseDeserializer
(ObjectDeserializer<BuilderT> op) toString()
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupMetricAggregationBaseDeserializer
protected static <BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>> void setupMetricAggregationBaseDeserializer(ObjectDeserializer<BuilderT> op)
-