Class DatafeedStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.DatafeedStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DatafeedStats>
Json deserializer forDatafeedStats
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
For started datafeeds only, contains messages relating to the selection of a node.final String
Required - A numerical character string that uniquely identifies the datafeed.final DiscoveryNode
node()
For started datafeeds only, this information pertains to the node upon which the datafeed is started.static DatafeedStats
final DatafeedRunningState
An object containing the running state for this datafeed.void
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
final DatafeedState
state()
Required - The status of the datafeed, which can be one of the following values:starting
,started
,stopping
,stopped
.final DatafeedTimingStats
Required - An object that provides statistical information about timing aspect of this datafeed.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDatafeedStats
-
-
Method Details
-
of
-
assignmentExplanation
For started datafeeds only, contains messages relating to the selection of a node.API name:
assignment_explanation
-
datafeedId
Required - A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.API name:
datafeed_id
-
node
For started datafeeds only, this information pertains to the node upon which the datafeed is started.API name:
node
-
state
Required - The status of the datafeed, which can be one of the following values:starting
,started
,stopping
,stopped
.API name:
state
-
timingStats
Required - An object that provides statistical information about timing aspect of this datafeed.API name:
timing_stats
-
runningState
An object containing the running state for this datafeed. It is only provided if the datafeed is started.API name:
running_state
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDatafeedStatsDeserializer
-