Class TrainedModelStats

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

@JsonpDeserializable
public final class TrainedModelStats
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • modelId

      public java.lang.String modelId()
      Required - The unique identifier of the trained model.

      API name: model_id

    • pipelineCount

      public int pipelineCount()
      Required - The number of ingest pipelines that currently refer to the model.

      API name: pipeline_count

    • inferenceStats

      @Nullable public TrainedModelInferenceStats inferenceStats()
      A collection of inference stats fields.

      API name: inference_stats

    • ingest

      @Nullable public java.util.Map<java.lang.String,​JsonData> ingest()
      A collection of ingest stats for the model across all nodes. The values are summations of the individual node statistics. The format matches the ingest section in Nodes stats.

      API name: ingest

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

      protected static void setupTrainedModelStatsDeserializer​(DelegatingDeserializer<TrainedModelStats.Builder> op)