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 classDatafeedsRecord.BuilderBuilder forDatafeedsRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DatafeedsRecord>_DESERIALIZERJson 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.StringassignmentExplanation()why the datafeed is or is not assigned to a nodejava.lang.StringbucketsCount()bucket countjava.lang.Stringid()the datafeed_idjava.lang.StringnodeAddress()network address of the assigned nodejava.lang.StringnodeEphemeralId()ephemeral id of the assigned nodejava.lang.StringnodeId()id of the assigned nodejava.lang.StringnodeName()name of the assigned nodejava.lang.StringsearchBucketAvg()the average search time per bucket (millisecond)java.lang.StringsearchCount()number of searches ran by the datafeedjava.lang.StringsearchExpAvgHour()the exponential average search time per hour (millisecond)java.lang.StringsearchTime()the total search timevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDatafeedsRecordDeserializer(DelegatingDeserializer<DatafeedsRecord.Builder> op)DatafeedStatestate()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDatafeedsRecordDeserializer
protected static void setupDatafeedsRecordDeserializer(DelegatingDeserializer<DatafeedsRecord.Builder> op)
-