Class DatafeedsRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.ml_datafeeds.DatafeedsRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DatafeedsRecord>
Json deserializer forDatafeedsRecord
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
why the datafeed is or is not assigned to a nodefinal String
bucket countfinal String
id()
the datafeed_idfinal String
network address of the assigned nodefinal String
ephemeral id of the assigned nodefinal String
nodeId()
id of the assigned nodefinal String
nodeName()
name of the assigned nodestatic DatafeedsRecord
final String
the average search time per bucket (millisecond)final String
number of searches ran by the datafeedfinal String
the exponential average search time per hour (millisecond)final String
the total search timevoid
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 datafeed statetoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDatafeedsRecord
-
-
Method Details
-
of
public static DatafeedsRecord of(Function<DatafeedsRecord.Builder, ObjectBuilder<DatafeedsRecord>> fn) -
id
the datafeed_idAPI name:
id
-
state
the datafeed stateAPI name:
state
-
assignmentExplanation
why the datafeed is or is not assigned to a nodeAPI name:
assignment_explanation
-
bucketsCount
bucket countAPI name:
buckets.count
-
searchCount
number of searches ran by the datafeedAPI name:
search.count
-
searchTime
the total search timeAPI name:
search.time
-
searchBucketAvg
the average search time per bucket (millisecond)API name:
search.bucket_avg
-
searchExpAvgHour
the exponential average search time per hour (millisecond)API name:
search.exp_avg_hour
-
nodeId
id of the assigned nodeAPI name:
node.id
-
nodeName
name of the assigned nodeAPI name:
node.name
-
nodeEphemeralId
ephemeral id of the assigned nodeAPI name:
node.ephemeral_id
-
nodeAddress
network address of the assigned nodeAPI 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)
-