Class JobStats

java.lang.Object
org.elasticsearch.client.ml.job.stats.JobStats
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class JobStats extends Object implements org.elasticsearch.xcontent.ToXContentObject
Class containing the statistics for a Machine Learning job.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.elasticsearch.xcontent.ConstructingObjectParser<JobStats,Void>
     

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    For open jobs only, contains messages relating to the selection of a node to run the job.
    An object that describes the number of records processed and any related error counts See DataCounts
    An object that provides statistical information about forecasts of this job.
    The jobId referencing the job for these statistics
    An object that provides information about the size and contents of the model.
    For open jobs only, contains information about the node where the job runs See NodeAttributes
    org.elasticsearch.core.TimeValue
    For open jobs only, the elapsed time for which the job has been open
    The status of the job See JobState
     
    int
     
    org.elasticsearch.xcontent.XContentBuilder
    toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject

    isFragment
  • Field Details

    • PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<JobStats,Void> PARSER
  • Method Details

    • getJobId

      public String getJobId()
      The jobId referencing the job for these statistics
    • getDataCounts

      public DataCounts getDataCounts()
      An object that describes the number of records processed and any related error counts See DataCounts
    • getModelSizeStats

      public ModelSizeStats getModelSizeStats()
      An object that provides information about the size and contents of the model. See ModelSizeStats
    • getTimingStats

      public TimingStats getTimingStats()
    • getForecastStats

      public ForecastStats getForecastStats()
      An object that provides statistical information about forecasts of this job. See ForecastStats
    • getState

      public JobState getState()
      The status of the job See JobState
    • getNode

      public NodeAttributes getNode()
      For open jobs only, contains information about the node where the job runs See NodeAttributes
    • getAssignmentExplanation

      public String getAssignmentExplanation()
      For open jobs only, contains messages relating to the selection of a node to run the job.
    • getOpenTime

      public org.elasticsearch.core.TimeValue getOpenTime()
      For open jobs only, the elapsed time for which the job has been open
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object