Class DelayedDataCheckConfig

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

@JsonpDeserializable
public class DelayedDataCheckConfig
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static DelayedDataCheckConfig of​(java.util.function.Function<DelayedDataCheckConfig.Builder,​ObjectBuilder<DelayedDataCheckConfig>> fn)
    • checkWindow

      @Nullable public final Time checkWindow()
      The window of time that is searched for late data. This window of time ends with the latest finalized bucket. It defaults to null, which causes an appropriate check_window to be calculated when the real-time datafeed runs. In particular, the default check_window span calculation is based on the maximum of 2h or 8 * bucket_span.

      API name: check_window

    • enabled

      public final boolean enabled()
      Required - Specifies whether the datafeed periodically checks for delayed data.

      API name: enabled

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

      protected static void setupDelayedDataCheckConfigDeserializer​(ObjectDeserializer<DelayedDataCheckConfig.Builder> op)