Class TimeSync
java.lang.Object
co.elastic.clients.elasticsearch.transform.TimeSync
- All Implemented Interfaces:
SyncVariant,JsonpSerializable,UnionVariant
@JsonpDeserializable public final class TimeSync extends java.lang.Object implements SyncVariant, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeSync.BuilderBuilder forTimeSync. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TimeSync>_DESERIALIZERJson deserializer forTimeSync -
Constructor Summary
Constructors Constructor Description TimeSync(TimeSync.Builder builder)TimeSync(java.util.function.Function<TimeSync.Builder,TimeSync.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.String_variantType()Syncvariant typejava.lang.Stringdelay()The time delay between the current time and the latest input data time.java.lang.Stringfield()Required - The date field that is used to identify new documents in the source.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTimeSyncDeserializer(DelegatingDeserializer<TimeSync.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.transform.SyncVariant
_toSync
-
Field Details
-
_DESERIALIZER
Json deserializer forTimeSync
-
-
Constructor Details
-
TimeSync
-
TimeSync
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Syncvariant type- Specified by:
_variantTypein interfaceUnionVariant
-
delay
@Nullable public java.lang.String delay()The time delay between the current time and the latest input data time.API name:
delay -
field
public java.lang.String field()Required - The date field that is used to identify new documents in the source.API name:
field -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTimeSyncDeserializer
-