Class JobStatistics
java.lang.Object
co.elastic.clients.elasticsearch.ml.JobStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class JobStatistics extends java.lang.Object implements JsonpSerializable
-
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 -
Constructor Summary
Constructors Constructor Description JobStatistics(JobStatistics.Builder builder)JobStatistics(java.util.function.Function<JobStatistics.Builder,JobStatistics.Builder> fn) -
Method Summary
Modifier and Type Method Description doubleavg()Required - API name:avgdoublemax()Required - API name:maxdoublemin()Required - API name:minvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupJobStatisticsDeserializer(DelegatingDeserializer<JobStatistics.Builder> op)doubletotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forJobStatistics
-
-
Constructor Details
-
JobStatistics
-
JobStatistics
-
-
Method Details
-
avg
public double avg()Required - API name:avg -
max
public double max()Required - API name:max -
min
public double min()Required - API name:min -
total
public double total()Required - API name:total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupJobStatisticsDeserializer
protected static void setupJobStatisticsDeserializer(DelegatingDeserializer<JobStatistics.Builder> op)
-