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 class
DelayedDataCheckConfig.Builder
Builder forDelayedDataCheckConfig
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DelayedDataCheckConfig>
_DESERIALIZER
Json deserializer forDelayedDataCheckConfig
-
Method Summary
Modifier and Type Method Description Time
checkWindow()
The window of time that is searched for late data.boolean
enabled()
Required - Specifies whether the datafeed periodically checks for delayed data.static DelayedDataCheckConfig
of(java.util.function.Function<DelayedDataCheckConfig.Builder,ObjectBuilder<DelayedDataCheckConfig>> fn)
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(ObjectDeserializer<DelayedDataCheckConfig.Builder> op)
java.lang.String
toString()
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 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
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupDelayedDataCheckConfigDeserializer
protected static void setupDelayedDataCheckConfigDeserializer(ObjectDeserializer<DelayedDataCheckConfig.Builder> op)
-