Class TimeSync
java.lang.Object
co.elastic.clients.elasticsearch.transform.TimeSync
- All Implemented Interfaces:
SyncVariant,JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TimeSync>Json deserializer forTimeSync -
Method Summary
Modifier and TypeMethodDescriptionSync variant kind.final Timedelay()The time delay between the current time and the latest input data time.final Stringfield()Required - The date field that is used to identify new documents in the source.static TimeSyncvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
_syncKindin 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTimeSyncDeserializer
-