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
public abstract class MetricAggregationBase extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
MetricAggregationBase.AbstractBuilder<BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetricAggregationBase(MetricAggregationBase.AbstractBuilder<?> builder)
-
Method Summary
Modifier and Type Method Description java.lang.String
field()
API name:field
FieldValue
missing()
API name:missing
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)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MetricAggregationBase
-
-
Method Details
-
field
@Nullable public final java.lang.String field()API name:field
-
missing
API name:missing
-
script
API name:script
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupMetricAggregationBaseDeserializer
protected static <BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>> void setupMetricAggregationBaseDeserializer(ObjectDeserializer<BuilderT> op)
-