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 classTrainedModelsRecord.BuilderBuilder forTrainedModelsRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TrainedModelsRecord>_DESERIALIZERJson deserializer forTrainedModelsRecord -
Method Summary
Modifier and Type Method Description java.lang.StringcreatedBy()who created the modelDateTimecreateTime()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 modelstatic TrainedModelsRecordof(java.util.function.Function<TrainedModelsRecord.Builder,ObjectBuilder<TrainedModelsRecord>> fn)java.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(ObjectDeserializer<TrainedModelsRecord.Builder> op)java.lang.StringtoString()java.lang.Stringtype()API name:typejava.lang.Stringversion()The version of Elasticsearch when the model was createdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTrainedModelsRecordDeserializer
protected static void setupTrainedModelsRecordDeserializer(ObjectDeserializer<TrainedModelsRecord.Builder> op)
-