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
  • Field Details

  • 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

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupJobStatisticsDeserializer

      protected static void setupJobStatisticsDeserializer​(ObjectDeserializer<JobStatistics.Builder> op)