Class DatafeedsRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.ml_datafeeds.DatafeedsRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class DatafeedsRecord extends java.lang.Object implements JsonpSerializable
-
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
-
Constructor Summary
Constructors Constructor Description DatafeedsRecord(DatafeedsRecord.Builder builder)
DatafeedsRecord(java.util.function.Function<DatafeedsRecord.Builder,DatafeedsRecord.Builder> fn)
-
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 nodejava.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(DelegatingDeserializer<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
-
-
Constructor Details
-
DatafeedsRecord
-
DatafeedsRecord
public DatafeedsRecord(java.util.function.Function<DatafeedsRecord.Builder,DatafeedsRecord.Builder> fn)
-
-
Method Details
-
id
@Nullable public java.lang.String id()the datafeed_idAPI name:
id
-
state
the datafeed stateAPI name:
state
-
assignmentExplanation
@Nullable public java.lang.String assignmentExplanation()why the datafeed is or is not assigned to a nodeAPI name:
assignment_explanation
-
bucketsCount
@Nullable public java.lang.String bucketsCount()bucket countAPI name:
buckets.count
-
searchCount
@Nullable public java.lang.String searchCount()number of searches ran by the datafeedAPI name:
search.count
-
searchTime
@Nullable public java.lang.String searchTime()the total search timeAPI name:
search.time
-
searchBucketAvg
@Nullable public java.lang.String searchBucketAvg()the average search time per bucket (millisecond)API name:
search.bucket_avg
-
searchExpAvgHour
@Nullable public java.lang.String searchExpAvgHour()the exponential average search time per hour (millisecond)API name:
search.exp_avg_hour
-
nodeId
@Nullable public java.lang.String nodeId()id of the assigned nodeAPI name:
node.id
-
nodeName
@Nullable public java.lang.String nodeName()name of the assigned nodeAPI name:
node.name
-
nodeEphemeralId
@Nullable public java.lang.String nodeEphemeralId()ephemeral id of the assigned nodeAPI name:
node.ephemeral_id
-
nodeAddress
@Nullable public 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(DelegatingDeserializer<DatafeedsRecord.Builder> op)
-