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
  • Field Details

  • 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_id

      API name: id

    • state

      @Nullable public final DatafeedState state()
      the datafeed state

      API name: state

    • assignmentExplanation

      @Nullable public final java.lang.String assignmentExplanation()
      why the datafeed is or is not assigned to a node

      API name: assignment_explanation

    • bucketsCount

      @Nullable public final java.lang.String bucketsCount()
      bucket count

      API name: buckets.count

    • searchCount

      @Nullable public final java.lang.String searchCount()
      number of searches ran by the datafeed

      API name: search.count

    • searchTime

      @Nullable public final java.lang.String searchTime()
      the total search time

      API 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 node

      API name: node.id

    • nodeName

      @Nullable public final java.lang.String nodeName()
      name of the assigned node

      API name: node.name

    • nodeEphemeralId

      @Nullable public final java.lang.String nodeEphemeralId()
      ephemeral id of the assigned node

      API name: node.ephemeral_id

    • nodeAddress

      @Nullable public final java.lang.String nodeAddress()
      network address of the assigned node

      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)
    • setupDatafeedsRecordDeserializer

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