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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TrainedModelsRecord.Builder
Builder forTrainedModelsRecord
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TrainedModelsRecord>
_DESERIALIZER
Json deserializer forTrainedModelsRecord
-
Method Summary
Modifier and Type Method Description java.lang.String
createdBy()
who created the modelDateTime
createTime()
The time the model was createdjava.lang.String
dataFrameAnalysis()
The analysis used by the data frame to build the modeljava.lang.String
dataFrameCreateTime()
The time the data frame analytics config was createdjava.lang.String
dataFrameId()
The data frame analytics config id that created the model (if still available)java.lang.String
dataFrameSourceIndex()
The source index used to train in the data frame analysisjava.lang.String
description()
The model descriptionjava.lang.String
heapSize()
the estimated heap size to keep the model in memoryjava.lang.String
id()
the trained model idjava.lang.String
ingestCount()
The total number of docs processed by the modeljava.lang.String
ingestCurrent()
The total documents currently being handled by the modeljava.lang.String
ingestFailed()
The total count of failed ingest attempts with this modeljava.lang.String
ingestPipelines()
The number of pipelines referencing the modeljava.lang.String
ingestTime()
The total time spent processing docs with this modeljava.lang.String
license()
The license level of the modelstatic TrainedModelsRecord
of(java.util.function.Function<TrainedModelsRecord.Builder,ObjectBuilder<TrainedModelsRecord>> fn)
java.lang.String
operations()
the estimated number of operations to use the modelvoid
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
setupTrainedModelsRecordDeserializer(ObjectDeserializer<TrainedModelsRecord.Builder> op)
java.lang.String
type()
API name:type
java.lang.String
version()
The version of Elasticsearch when the model was createdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModelsRecord
-
-
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 idAPI name:
id
-
createdBy
@Nullable public final java.lang.String createdBy()who created the modelAPI name:
created_by
-
heapSize
@Nullable public final java.lang.String heapSize()the estimated heap size to keep the model in memoryAPI name:
heap_size
-
operations
@Nullable public final java.lang.String operations()the estimated number of operations to use the modelAPI name:
operations
-
license
@Nullable public final java.lang.String license()The license level of the modelAPI name:
license
-
createTime
The time the model was createdAPI name:
create_time
-
version
@Nullable public final java.lang.String version()The version of Elasticsearch when the model was createdAPI name:
version
-
description
@Nullable public final java.lang.String description()The model descriptionAPI name:
description
-
ingestPipelines
@Nullable public final java.lang.String ingestPipelines()The number of pipelines referencing the modelAPI name:
ingest.pipelines
-
ingestCount
@Nullable public final java.lang.String ingestCount()The total number of docs processed by the modelAPI name:
ingest.count
-
ingestTime
@Nullable public final java.lang.String ingestTime()The total time spent processing docs with this modelAPI name:
ingest.time
-
ingestCurrent
@Nullable public final java.lang.String ingestCurrent()The total documents currently being handled by the modelAPI name:
ingest.current
-
ingestFailed
@Nullable public final java.lang.String ingestFailed()The total count of failed ingest attempts with this modelAPI 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 createdAPI name:
data_frame.create_time
-
dataFrameSourceIndex
@Nullable public final java.lang.String dataFrameSourceIndex()The source index used to train in the data frame analysisAPI name:
data_frame.source_index
-
dataFrameAnalysis
@Nullable public final java.lang.String dataFrameAnalysis()The analysis used by the data frame to build the modelAPI name:
data_frame.analysis
-
type
@Nullable public final java.lang.String type()API name:type
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTrainedModelsRecordDeserializer
protected static void setupTrainedModelsRecordDeserializer(ObjectDeserializer<TrainedModelsRecord.Builder> op)
-