Class JobStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.JobStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<JobStats>
Json deserializer forJobStats
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.final DataCounts
Required - An object that describes the quantity of input to the job and any related error counts.final Boolean
deleting()
Indicates that the process of deleting the job is in progress but not yet completed.final JobForecastStatistics
Required - An object that provides statistical information about forecasts belonging to this job.final String
jobId()
Required - Identifier for the anomaly detection job.final ModelSizeStats
Required - An object that provides information about the size and contents of the model.final DiscoveryNode
node()
Contains properties for the node that runs the job.static JobStats
final DateTime
openTime()
For open jobs only, the elapsed time for which the job has been open.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final JobState
state()
Required - The status of the anomaly detection job, which can be one of the following values:closed
,closing
,failed
,opened
,opening
.final JobTimingStats
Required - An object that provides statistical information about timing aspect of this job.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forJobStats
-
-
Method Details
-
of
-
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
Required - An object that describes the quantity of input to the job and any related error counts. Thedata_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
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
Required - Identifier for the anomaly detection job.API name:
job_id
-
modelSizeStats
Required - An object that provides information about the size and contents of the model.API name:
model_size_stats
-
node
Contains properties for the node that runs the job. This information is available only for open jobs.API name:
node
-
openTime
For open jobs only, the elapsed time for which the job has been open.API name:
open_time
-
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
Required - An object that provides statistical information about timing aspect of this job.API name:
timing_stats
-
deleting
Indicates that the process of deleting the job is in progress but not yet completed. It is only reported whentrue
.API name:
deleting
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupJobStatsDeserializer
-