Class DatafeedStats

java.lang.Object
co.elastic.clients.elasticsearch.ml.DatafeedStats
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • assignmentExplanation

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

      API name: assignment_explanation

    • datafeedId

      public final String datafeedId()
      Required - A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.

      API name: datafeed_id

    • node

      @Nullable public final DiscoveryNode node()
      For started datafeeds only, this information pertains to the node upon which the datafeed is started.

      API name: node

    • state

      public final DatafeedState state()
      Required - The status of the datafeed, which can be one of the following values: starting, started, stopping, stopped.

      API name: state

    • timingStats

      public final DatafeedTimingStats timingStats()
      Required - An object that provides statistical information about timing aspect of this datafeed.

      API name: timing_stats

    • runningState

      @Nullable public final DatafeedRunningState runningState()
      An object containing the running state for this datafeed. It is only provided if the datafeed is started.

      API name: running_state

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

      protected static void setupDatafeedStatsDeserializer(ObjectDeserializer<DatafeedStats.Builder> op)