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
-
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 -
Method Summary
Modifier and Type Method Description TimecheckWindow()The window of time that is searched for late data.booleanenabled()Required - Specifies whether the datafeed periodically checks for delayed data.static DelayedDataCheckConfigof(java.util.function.Function<DelayedDataCheckConfig.Builder,ObjectBuilder<DelayedDataCheckConfig>> fn)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(ObjectDeserializer<DelayedDataCheckConfig.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDelayedDataCheckConfig
-
-
Method Details
-
of
public static DelayedDataCheckConfig of(java.util.function.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 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 final 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
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupDelayedDataCheckConfigDeserializer
protected static void setupDelayedDataCheckConfigDeserializer(ObjectDeserializer<DelayedDataCheckConfig.Builder> op)
-