Class TrainedModelsRecord

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

@JsonpDeserializable
public class TrainedModelsRecord
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static TrainedModelsRecord of​(java.util.function.Function<TrainedModelsRecord.Builder,​ObjectBuilder<TrainedModelsRecord>> fn)
    • id

      @Nullable public final java.lang.String id()
      the trained model id

      API name: id

    • createdBy

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

      API name: created_by

    • heapSize

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

      API name: heap_size

    • operations

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

      API name: operations

    • license

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

      API name: license

    • createTime

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

      API name: create_time

    • version

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

      API name: version

    • description

      @Nullable public final java.lang.String description()
      The model description

      API name: description

    • ingestPipelines

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

      API name: ingest.pipelines

    • ingestCount

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

      API name: ingest.count

    • ingestTime

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

      API name: ingest.time

    • ingestCurrent

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

      API name: ingest.current

    • ingestFailed

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

      API name: ingest.failed

    • dataFrameId

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

      API name: data_frame.id

    • dataFrameCreateTime

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

      API name: data_frame.create_time

    • dataFrameSourceIndex

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

      API name: data_frame.source_index

    • dataFrameAnalysis

      @Nullable public final java.lang.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)
    • setupTrainedModelsRecordDeserializer

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