Class JobStats

java.lang.Object
co.elastic.clients.elasticsearch.ml.JobStats
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class JobStats extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • assignmentExplanation

      @Nullable public final String assignmentExplanation()
      For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.

      API name: assignment_explanation

    • dataCounts

      public final DataCounts dataCounts()
      Required - An object that describes the quantity of input to the job and any related error counts. The data_count values are cumulative for the lifetime of a job. If a model snapshot is reverted or old results are deleted, the job counts are not reset.

      API name: data_counts

    • forecastsStats

      public final JobForecastStatistics forecastsStats()
      Required - An object that provides statistical information about forecasts belonging to this job. Some statistics are omitted if no forecasts have been made.

      API name: forecasts_stats

    • jobId

      public final String jobId()
      Required - Identifier for the anomaly detection job.

      API name: job_id

    • modelSizeStats

      public final ModelSizeStats modelSizeStats()
      Required - An object that provides information about the size and contents of the model.

      API name: model_size_stats

    • node

      @Nullable public final DiscoveryNode node()
      Contains properties for the node that runs the job. This information is available only for open jobs.

      API name: node

    • openTime

      @Nullable public final DateTime openTime()
      For open jobs only, the elapsed time for which the job has been open.

      API name: open_time

    • state

      public final JobState state()
      Required - The status of the anomaly detection job, which can be one of the following values: closed, closing, failed, opened, opening.

      API name: state

    • timingStats

      public final JobTimingStats timingStats()
      Required - An object that provides statistical information about timing aspect of this job.

      API name: timing_stats

    • deleting

      @Nullable public final Boolean deleting()
      Indicates that the process of deleting the job is in progress but not yet completed. It is only reported when true.

      API name: deleting

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupJobStatsDeserializer

      protected static void setupJobStatsDeserializer(ObjectDeserializer<JobStats.Builder> op)