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 class
JobStatistics.Builder
Builder forJobStatistics
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<JobStatistics>
_DESERIALIZER
Json 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 double
avg()
API name:avg
double
max()
API name:max
double
min()
API name:min
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupJobStatisticsDeserializer(DelegatingDeserializer<JobStatistics.Builder> op)
double
total()
API name:total
Methods 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()API name:avg
-
max
public double max()API name:max
-
min
public double min()API name:min
-
total
public double total()API name:total
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupJobStatisticsDeserializer
protected static void setupJobStatisticsDeserializer(DelegatingDeserializer<JobStatistics.Builder> op)
-