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 classDelayedDataCheckConfig.BuilderBuilder forDelayedDataCheckConfig. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DelayedDataCheckConfig>_DESERIALIZERJson 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.StringcheckWindow()The window of time that is searched for late data.booleanenabled()Required - Specifies whether the datafeed periodically checks for delayed data.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDelayedDataCheckConfigDeserializer(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_windowspan calculation is based on the maximum of2hor8 * 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDelayedDataCheckConfigDeserializer
protected static void setupDelayedDataCheckConfigDeserializer(DelegatingDeserializer<DelayedDataCheckConfig.Builder> op)
-