Class DelayedDataCheckConfig
java.lang.Object
co.elastic.clients.elasticsearch.ml.DelayedDataCheckConfig
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class DelayedDataCheckConfig
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DelayedDataCheckConfig>
Json deserializer forDelayedDataCheckConfig
-
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The window of time that is searched for late data.final boolean
enabled()
Required - Specifies whether the datafeed periodically checks for delayed data.static DelayedDataCheckConfig
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDelayedDataCheckConfig
-
-
Method Details
-
of
public static DelayedDataCheckConfig of(Function<DelayedDataCheckConfig.Builder, ObjectBuilder<DelayedDataCheckConfig>> fn) -
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 appropriatecheck_window
to be calculated when the real-time datafeed runs. In particular, the defaultcheck_window
span calculation is based on the maximum of2h
or8 * 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
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDelayedDataCheckConfigDeserializer
protected static void setupDelayedDataCheckConfigDeserializer(ObjectDeserializer<DelayedDataCheckConfig.Builder> op)
-