Class TimeSync
java.lang.Object
co.elastic.clients.elasticsearch.transform.TimeSync
- All Implemented Interfaces:
SyncVariant
,JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<TimeSync>
Json deserializer forTimeSync
-
Method Summary
Modifier and TypeMethodDescriptionSync variant kind.final Time
delay()
The time delay between the current time and the latest input data time.final String
field()
Required - The date field that is used to identify new documents in the source.static TimeSync
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()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.transform.SyncVariant
_toSync
-
Field Details
-
_DESERIALIZER
Json deserializer forTimeSync
-
-
Method Details
-
of
-
_syncKind
Sync variant kind.- Specified by:
_syncKind
in interfaceSyncVariant
-
delay
The time delay between the current time and the latest input data time.API name:
delay
-
field
Required - The date field that is used to identify new documents in the source. In general, it’s a good idea to use a field that contains the ingest timestamp. If you use a different field, you might need to set the delay such that it accounts for data transmission delays.API name:
field
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTimeSyncDeserializer
-