Class DatafeedRunningState

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

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

  • Method Details

    • of

    • realTimeConfigured

      public final boolean realTimeConfigured()
      Required - Indicates if the datafeed is "real-time"; meaning that the datafeed has no configured end time.

      API name: real_time_configured

    • realTimeRunning

      public final boolean realTimeRunning()
      Required - Indicates whether the datafeed has finished running on the available past data. For datafeeds without a configured end time, this means that the datafeed is now running on "real-time" data.

      API name: real_time_running

    • searchInterval

      @Nullable public final RunningStateSearchInterval searchInterval()
      Provides the latest time interval the datafeed has searched.

      API name: search_interval

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

      protected static void setupDatafeedRunningStateDeserializer(ObjectDeserializer<DatafeedRunningState.Builder> op)