Class JobStats

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

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

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

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

    Fields
    Modifier and Type Field Description
    static org.elasticsearch.common.xcontent.ConstructingObjectParser<JobStats,​java.lang.Void> PARSER  

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    java.lang.String getAssignmentExplanation()
    For open jobs only, contains messages relating to the selection of a node to run the job.
    DataCounts getDataCounts()
    An object that describes the number of records processed and any related error counts See DataCounts
    ForecastStats getForecastStats()
    An object that provides statistical information about forecasts of this job.
    java.lang.String getJobId()
    The jobId referencing the job for these statistics
    ModelSizeStats getModelSizeStats()
    An object that provides information about the size and contents of the model.
    NodeAttributes getNode()
    For open jobs only, contains information about the node where the job runs See NodeAttributes
    org.elasticsearch.common.unit.TimeValue getOpenTime()
    For open jobs only, the elapsed time for which the job has been open
    JobState getState()
    The status of the job See JobState
    TimingStats getTimingStats()  
    int hashCode()  
    org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.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.common.xcontent.ToXContentObject

    isFragment
  • Field Details

    • PARSER

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

    • getJobId

      public java.lang.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 java.lang.String getAssignmentExplanation()
      For open jobs only, contains messages relating to the selection of a node to run the job.
    • getOpenTime

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

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

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

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object