Class JobStats
- java.lang.Object
-
- org.elasticsearch.client.ml.job.stats.JobStats
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class JobStats extends java.lang.Object implements ToXContentObject
Class containing the statistics for a Machine Learning job.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ConstructingObjectParser<JobStats,java.lang.Void>PARSER-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAssignmentExplanation()For open jobs only, contains messages relating to the selection of a node to run the job.DataCountsgetDataCounts()An object that describes the number of records processed and any related error counts SeeDataCountsForecastStatsgetForecastStats()An object that provides statistical information about forecasts of this job.java.lang.StringgetJobId()The jobId referencing the job for these statisticsModelSizeStatsgetModelSizeStats()An object that provides information about the size and contents of the model.NodeAttributesgetNode()For open jobs only, contains information about the node where the job runs SeeNodeAttributesTimeValuegetOpenTime()For open jobs only, the elapsed time for which the job has been openJobStategetState()The status of the job SeeJobStateinthashCode()XContentBuildertoXContent(XContentBuilder builder, 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 Detail
-
PARSER
public static final ConstructingObjectParser<JobStats,java.lang.Void> PARSER
-
-
Method Detail
-
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 SeeDataCounts
-
getModelSizeStats
public ModelSizeStats getModelSizeStats()
An object that provides information about the size and contents of the model. SeeModelSizeStats
-
getForecastStats
public ForecastStats getForecastStats()
An object that provides statistical information about forecasts of this job. SeeForecastStats
-
getNode
public NodeAttributes getNode()
For open jobs only, contains information about the node where the job runs SeeNodeAttributes
-
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 TimeValue getOpenTime()
For open jobs only, the elapsed time for which the job has been open
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-