Class TopMetrics
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.TopMetrics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TopMetrics extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopMetrics.BuilderBuilder forTopMetrics. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TopMetrics>_DESERIALIZERJson deserializer forTopMetrics -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,FieldValue>metrics()Required - API name:metricsstatic TopMetricsof(java.util.function.Function<TopMetrics.Builder,ObjectBuilder<TopMetrics>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTopMetricsDeserializer(ObjectDeserializer<TopMetrics.Builder> op)java.util.List<FieldValue>sort()Required - API name:sortjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTopMetrics
-
-
Method Details
-
of
public static TopMetrics of(java.util.function.Function<TopMetrics.Builder,ObjectBuilder<TopMetrics>> fn) -
sort
Required - API name:sort -
metrics
Required - API name:metrics -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTopMetricsDeserializer
-