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 classTrainedModelsRecord.BuilderBuilder forTrainedModelsRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TrainedModelsRecord>_DESERIALIZERJson 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.StringcreatedBy()who created the modeljava.lang.StringcreateTime()The time the model was createdjava.lang.StringdataFrameAnalysis()The analysis used by the data frame to build the modeljava.lang.StringdataFrameCreateTime()The time the data frame analytics config was createdjava.lang.StringdataFrameId()The data frame analytics config id that created the model (if still available)java.lang.StringdataFrameSourceIndex()The source index used to train in the data frame analysisjava.lang.Stringdescription()The model descriptionjava.lang.StringheapSize()the estimated heap size to keep the model in memoryjava.lang.Stringid()the trained model idjava.lang.StringingestCount()The total number of docs processed by the modeljava.lang.StringingestCurrent()The total documents currently being handled by the modeljava.lang.StringingestFailed()The total count of failed ingest attempts with this modeljava.lang.StringingestPipelines()The number of pipelines referencing the modeljava.lang.StringingestTime()The total time spent processing docs with this modeljava.lang.Stringlicense()The license level of the modeljava.lang.Stringoperations()the estimated number of operations to use the modelvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTrainedModelsRecordDeserializer(DelegatingDeserializer<TrainedModelsRecord.Builder> op)java.lang.Stringversion()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTrainedModelsRecordDeserializer
protected static void setupTrainedModelsRecordDeserializer(DelegatingDeserializer<TrainedModelsRecord.Builder> op)
-