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 classDatafeedsRecord.BuilderBuilder forDatafeedsRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DatafeedsRecord>_DESERIALIZERJson deserializer forDatafeedsRecord -
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 nodestatic DatafeedsRecordof(java.util.function.Function<DatafeedsRecord.Builder,ObjectBuilder<DatafeedsRecord>> fn)java.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(ObjectDeserializer<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
-
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDatafeedsRecordDeserializer
protected static void setupDatafeedsRecordDeserializer(ObjectDeserializer<DatafeedsRecord.Builder> op)
-