Class JobStatistics
java.lang.Object
co.elastic.clients.elasticsearch.ml.JobStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class JobStatistics extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobStatistics.BuilderBuilder forJobStatistics. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<JobStatistics>_DESERIALIZERJson deserializer forJobStatistics -
Method Summary
Modifier and Type Method Description doubleavg()Required - API name:avgdoublemax()Required - API name:maxdoublemin()Required - API name:minstatic JobStatisticsof(java.util.function.Function<JobStatistics.Builder,ObjectBuilder<JobStatistics>> 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 voidsetupJobStatisticsDeserializer(ObjectDeserializer<JobStatistics.Builder> op)java.lang.StringtoString()doubletotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forJobStatistics
-
-
Method Details
-
of
public static JobStatistics of(java.util.function.Function<JobStatistics.Builder,ObjectBuilder<JobStatistics>> fn) -
avg
public final double avg()Required - API name:avg -
max
public final double max()Required - API name:max -
min
public final double min()Required - API name:min -
total
public final double total()Required - API name:total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupJobStatisticsDeserializer
-