Class TopMetricsAggregate
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
co.elastic.clients.elasticsearch._types.aggregations.TopMetricsAggregate
- All Implemented Interfaces:
AggregateVariant,JsonpSerializable
@JsonpDeserializable public class TopMetricsAggregate extends AggregateBase implements AggregateVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopMetricsAggregate.BuilderBuilder forTopMetricsAggregate.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TopMetricsAggregate>_DESERIALIZERJson deserializer forTopMetricsAggregate -
Method Summary
Modifier and Type Method Description Aggregate.Kind_aggregateKind()Aggregate variant kind.static TopMetricsAggregateof(java.util.function.Function<TopMetricsAggregate.Builder,ObjectBuilder<TopMetricsAggregate>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTopMetricsAggregateDeserializer(ObjectDeserializer<TopMetricsAggregate.Builder> op)java.util.List<TopMetrics>top()Required - API name:topMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregateVariant
_toAggregate
-
Field Details
-
_DESERIALIZER
Json deserializer forTopMetricsAggregate
-
-
Method Details
-
of
public static TopMetricsAggregate of(java.util.function.Function<TopMetricsAggregate.Builder,ObjectBuilder<TopMetricsAggregate>> fn) -
_aggregateKind
Aggregate variant kind.- Specified by:
_aggregateKindin interfaceAggregateVariant
-
top
Required - API name:top -
serializeInternal
- Overrides:
serializeInternalin classAggregateBase
-
setupTopMetricsAggregateDeserializer
protected static void setupTopMetricsAggregateDeserializer(ObjectDeserializer<TopMetricsAggregate.Builder> op)
-