Class DatafeedsRecord

java.lang.Object
co.elastic.clients.elasticsearch.cat.ml_datafeeds.DatafeedsRecord
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class DatafeedsRecord extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • id

      @Nullable public final String id()
      The datafeed identifier.

      API name: id

    • state

      @Nullable public final DatafeedState state()
      The status of the datafeed.

      API name: state

    • assignmentExplanation

      @Nullable public final String assignmentExplanation()
      For started datafeeds only, contains messages relating to the selection of a node.

      API name: assignment_explanation

    • bucketsCount

      @Nullable public final String bucketsCount()
      The number of buckets processed.

      API name: buckets.count

    • searchCount

      @Nullable public final String searchCount()
      The number of searches run by the datafeed.

      API name: search.count

    • searchTime

      @Nullable public final String searchTime()
      The total time the datafeed spent searching, in milliseconds.

      API name: search.time

    • searchBucketAvg

      @Nullable public final String searchBucketAvg()
      The average search time per bucket, in milliseconds.

      API name: search.bucket_avg

    • searchExpAvgHour

      @Nullable public final String searchExpAvgHour()
      The exponential average search time per hour, in milliseconds.

      API name: search.exp_avg_hour

    • nodeId

      @Nullable public final String nodeId()
      The unique identifier of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.

      API name: node.id

    • nodeName

      @Nullable public final String nodeName()
      The name of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.

      API name: node.name

    • nodeEphemeralId

      @Nullable public final String nodeEphemeralId()
      The ephemeral identifier of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.

      API name: node.ephemeral_id

    • nodeAddress

      @Nullable public final String nodeAddress()
      The network address of the assigned node. For started datafeeds only, this information pertains to the node upon which the datafeed is started.

      API name: node.address

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupDatafeedsRecordDeserializer

      protected static void setupDatafeedsRecordDeserializer(ObjectDeserializer<DatafeedsRecord.Builder> op)