Class DelayedDataCheckConfig
java.lang.Object
co.elastic.clients.elasticsearch.ml.DelayedDataCheckConfig
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class DelayedDataCheckConfig extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DelayedDataCheckConfig.Builder
Builder forDelayedDataCheckConfig
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DelayedDataCheckConfig>
_DESERIALIZER
Json deserializer forDelayedDataCheckConfig
-
Constructor Summary
Constructors Constructor Description DelayedDataCheckConfig(DelayedDataCheckConfig.Builder builder)
DelayedDataCheckConfig(java.util.function.Function<DelayedDataCheckConfig.Builder,DelayedDataCheckConfig.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
checkWindow()
The window of time that is searched for late data.boolean
enabled()
Required - Specifies whether the datafeed periodically checks for delayed data.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
setupDelayedDataCheckConfigDeserializer(DelegatingDeserializer<DelayedDataCheckConfig.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDelayedDataCheckConfig
-
-
Constructor Details
-
DelayedDataCheckConfig
-
DelayedDataCheckConfig
public DelayedDataCheckConfig(java.util.function.Function<DelayedDataCheckConfig.Builder,DelayedDataCheckConfig.Builder> fn)
-
-
Method Details
-
checkWindow
@Nullable public java.lang.String 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 defaultcheck_window
span calculation is based on the maximum of2h
or8 * bucket_span
.API name:
check_window
-
enabled
public 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
-
setupDelayedDataCheckConfigDeserializer
protected static void setupDelayedDataCheckConfigDeserializer(DelegatingDeserializer<DelayedDataCheckConfig.Builder> op)
-