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 class
TopMetricsAggregate.Builder
Builder 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>
_DESERIALIZER
Json deserializer forTopMetricsAggregate
-
Method Summary
Modifier and Type Method Description Aggregate.Kind
_aggregateKind()
Aggregate variant kind.static TopMetricsAggregate
of(java.util.function.Function<TopMetricsAggregate.Builder,ObjectBuilder<TopMetricsAggregate>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupTopMetricsAggregateDeserializer(ObjectDeserializer<TopMetricsAggregate.Builder> op)
java.util.List<TopMetrics>
top()
Required - API name:top
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase
meta, serialize, setupAggregateBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
_aggregateKind
in interfaceAggregateVariant
-
top
Required - API name:top
-
serializeInternal
- Overrides:
serializeInternal
in classAggregateBase
-
setupTopMetricsAggregateDeserializer
protected static void setupTopMetricsAggregateDeserializer(ObjectDeserializer<TopMetricsAggregate.Builder> op)
-