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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
AggregateBase.AbstractBuilder<BuilderT extends AggregateBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TopMetricsAggregate>Json deserializer forTopMetricsAggregate -
Method Summary
Modifier and TypeMethodDescriptionAggregate variant kind.static TopMetricsAggregateprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal 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(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)
-