Class DatafeedsRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.ml_datafeeds.DatafeedsRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class DatafeedsRecord extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DatafeedsRecord.Builder
Builder forDatafeedsRecord
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DatafeedsRecord>
_DESERIALIZER
Json deserializer forDatafeedsRecord
-
Method Summary
Modifier and Type Method Description java.lang.String
assignmentExplanation()
why the datafeed is or is not assigned to a nodejava.lang.String
bucketsCount()
bucket countjava.lang.String
id()
the datafeed_idjava.lang.String
nodeAddress()
network address of the assigned nodejava.lang.String
nodeEphemeralId()
ephemeral id of the assigned nodejava.lang.String
nodeId()
id of the assigned nodejava.lang.String
nodeName()
name of the assigned nodestatic DatafeedsRecord
of(java.util.function.Function<DatafeedsRecord.Builder,ObjectBuilder<DatafeedsRecord>> fn)
java.lang.String
searchBucketAvg()
the average search time per bucket (millisecond)java.lang.String
searchCount()
number of searches ran by the datafeedjava.lang.String
searchExpAvgHour()
the exponential average search time per hour (millisecond)java.lang.String
searchTime()
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
setupDatafeedsRecordDeserializer(ObjectDeserializer<DatafeedsRecord.Builder> op)
DatafeedState
state()
the datafeed stateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDatafeedsRecord
-
-
Method Details
-
of
public static DatafeedsRecord of(java.util.function.Function<DatafeedsRecord.Builder,ObjectBuilder<DatafeedsRecord>> fn) -
id
@Nullable public final java.lang.String id()the datafeed_idAPI name:
id
-
state
the datafeed stateAPI name:
state
-
assignmentExplanation
@Nullable public final java.lang.String assignmentExplanation()why the datafeed is or is not assigned to a nodeAPI name:
assignment_explanation
-
bucketsCount
@Nullable public final java.lang.String bucketsCount()bucket countAPI name:
buckets.count
-
searchCount
@Nullable public final java.lang.String searchCount()number of searches ran by the datafeedAPI name:
search.count
-
searchTime
@Nullable public final java.lang.String searchTime()the total search timeAPI name:
search.time
-
searchBucketAvg
@Nullable public final java.lang.String searchBucketAvg()the average search time per bucket (millisecond)API name:
search.bucket_avg
-
searchExpAvgHour
@Nullable public final java.lang.String searchExpAvgHour()the exponential average search time per hour (millisecond)API name:
search.exp_avg_hour
-
nodeId
@Nullable public final java.lang.String nodeId()id of the assigned nodeAPI name:
node.id
-
nodeName
@Nullable public final java.lang.String nodeName()name of the assigned nodeAPI name:
node.name
-
nodeEphemeralId
@Nullable public final java.lang.String nodeEphemeralId()ephemeral id of the assigned nodeAPI name:
node.ephemeral_id
-
nodeAddress
@Nullable public final java.lang.String nodeAddress()network address of the assigned nodeAPI name:
node.address
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupDatafeedsRecordDeserializer
protected static void setupDatafeedsRecordDeserializer(ObjectDeserializer<DatafeedsRecord.Builder> op)
-