Class TrainedModelsRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.ml_trained_models.TrainedModelsRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class TrainedModelsRecord extends java.lang.Object implements JsonpSerializable
-
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
-
Constructor Summary
Constructors Constructor Description TrainedModelsRecord(TrainedModelsRecord.Builder builder)
TrainedModelsRecord(java.util.function.Function<TrainedModelsRecord.Builder,TrainedModelsRecord.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
createdBy()
who created the modeljava.lang.String
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 modeljava.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(DelegatingDeserializer<TrainedModelsRecord.Builder> op)
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
-
-
Constructor Details
-
TrainedModelsRecord
-
TrainedModelsRecord
public TrainedModelsRecord(java.util.function.Function<TrainedModelsRecord.Builder,TrainedModelsRecord.Builder> fn)
-
-
Method Details
-
id
@Nullable public java.lang.String id()the trained model idAPI name:
id
-
createdBy
@Nullable public java.lang.String createdBy()who created the modelAPI name:
created_by
-
heapSize
@Nullable public java.lang.String heapSize()the estimated heap size to keep the model in memoryAPI name:
heap_size
-
operations
@Nullable public java.lang.String operations()the estimated number of operations to use the modelAPI name:
operations
-
license
@Nullable public java.lang.String license()The license level of the modelAPI name:
license
-
createTime
@Nullable public java.lang.String createTime()The time the model was createdAPI name:
create_time
-
version
@Nullable public java.lang.String version()The version of Elasticsearch when the model was createdAPI name:
version
-
description
@Nullable public java.lang.String description()The model descriptionAPI name:
description
-
ingestPipelines
@Nullable public java.lang.String ingestPipelines()The number of pipelines referencing the modelAPI name:
ingest.pipelines
-
ingestCount
@Nullable public java.lang.String ingestCount()The total number of docs processed by the modelAPI name:
ingest.count
-
ingestTime
@Nullable public java.lang.String ingestTime()The total time spent processing docs with this modelAPI name:
ingest.time
-
ingestCurrent
@Nullable public java.lang.String ingestCurrent()The total documents currently being handled by the modelAPI name:
ingest.current
-
ingestFailed
@Nullable public java.lang.String ingestFailed()The total count of failed ingest attempts with this modelAPI name:
ingest.failed
-
dataFrameId
@Nullable public 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 java.lang.String dataFrameCreateTime()The time the data frame analytics config was createdAPI name:
data_frame.create_time
-
dataFrameSourceIndex
@Nullable public java.lang.String dataFrameSourceIndex()The source index used to train in the data frame analysisAPI name:
data_frame.source_index
-
dataFrameAnalysis
@Nullable public java.lang.String dataFrameAnalysis()The analysis used by the data frame to build the modelAPI name:
data_frame.analysis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTrainedModelsRecordDeserializer
protected static void setupTrainedModelsRecordDeserializer(DelegatingDeserializer<TrainedModelsRecord.Builder> op)
-