Class TrainedModelsRecord

java.lang.Object
co.elastic.clients.elasticsearch.cat.ml_trained_models.TrainedModelsRecord
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class TrainedModelsRecord extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • id

      @Nullable public final String id()
      the trained model id

      API name: id

    • createdBy

      @Nullable public final String createdBy()
      who created the model

      API name: created_by

    • heapSize

      @Nullable public final String heapSize()
      the estimated heap size to keep the model in memory

      API name: heap_size

    • operations

      @Nullable public final String operations()
      the estimated number of operations to use the model

      API name: operations

    • license

      @Nullable public final String license()
      The license level of the model

      API name: license

    • createTime

      @Nullable public final String createTime()
      The time the model was created

      API name: create_time

    • version

      @Nullable public final String version()
      The version of Elasticsearch when the model was created

      API name: version

    • description

      @Nullable public final String description()
      The model description

      API name: description

    • ingestPipelines

      @Nullable public final String ingestPipelines()
      The number of pipelines referencing the model

      API name: ingest.pipelines

    • ingestCount

      @Nullable public final String ingestCount()
      The total number of docs processed by the model

      API name: ingest.count

    • ingestTime

      @Nullable public final String ingestTime()
      The total time spent processing docs with this model

      API name: ingest.time

    • ingestCurrent

      @Nullable public final String ingestCurrent()
      The total documents currently being handled by the model

      API name: ingest.current

    • ingestFailed

      @Nullable public final String ingestFailed()
      The total count of failed ingest attempts with this model

      API name: ingest.failed

    • dataFrameId

      @Nullable public final String dataFrameId()
      The data frame analytics config id that created the model (if still available)

      API name: data_frame.id

    • dataFrameCreateTime

      @Nullable public final String dataFrameCreateTime()
      The time the data frame analytics config was created

      API name: data_frame.create_time

    • dataFrameSourceIndex

      @Nullable public final String dataFrameSourceIndex()
      The source index used to train in the data frame analysis

      API name: data_frame.source_index

    • dataFrameAnalysis

      @Nullable public final String dataFrameAnalysis()
      The analysis used by the data frame to build the model

      API name: data_frame.analysis

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

      public String toString()
      Overrides:
      toString in class Object
    • setupTrainedModelsRecordDeserializer

      protected static void setupTrainedModelsRecordDeserializer(ObjectDeserializer<TrainedModelsRecord.Builder> op)