Class DatafeedsRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.ml_datafeeds.DatafeedsRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DatafeedsRecord>
Json deserializer forDatafeedsRecord
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
For started datafeeds only, contains messages relating to the selection of a node.final String
The number of buckets processed.final String
id()
The datafeed identifier.final String
The network address of the assigned node.final String
The ephemeral identifier of the assigned node.final String
nodeId()
The unique identifier of the assigned node.final String
nodeName()
The name of the assigned node.static DatafeedsRecord
final String
The average search time per bucket, in milliseconds.final String
The number of searches run by the datafeed.final String
The exponential average search time per hour, in milliseconds.final String
The total time the datafeed spent searching, in milliseconds.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()
The status of the datafeed.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDatafeedsRecord
-
-
Method Details
-
of
public static DatafeedsRecord of(Function<DatafeedsRecord.Builder, ObjectBuilder<DatafeedsRecord>> fn) -
id
The datafeed identifier.API name:
id
-
state
The status of the datafeed.API name:
state
-
assignmentExplanation
For started datafeeds only, contains messages relating to the selection of a node.API name:
assignment_explanation
-
bucketsCount
The number of buckets processed.API name:
buckets.count
-
searchCount
The number of searches run by the datafeed.API name:
search.count
-
searchTime
The total time the datafeed spent searching, in milliseconds.API name:
search.time
-
searchBucketAvg
The average search time per bucket, in milliseconds.API name:
search.bucket_avg
-
searchExpAvgHour
The exponential average search time per hour, in milliseconds.API name:
search.exp_avg_hour
-
nodeId
The unique identifier of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.API name:
node.id
-
nodeName
The name of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.API name:
node.name
-
nodeEphemeralId
The ephemeral identifier of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.API name:
node.ephemeral_id
-
nodeAddress
The network address of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.API name:
node.address
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDatafeedsRecordDeserializer
protected static void setupDatafeedsRecordDeserializer(ObjectDeserializer<DatafeedsRecord.Builder> op)
-