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 class
TimeSync.Builder
Builder forTimeSync
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TimeSync>
_DESERIALIZER
Json 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()
Sync
variant typejava.lang.String
delay()
The time delay between the current time and the latest input data time.java.lang.String
field()
The date field that is used to identify new documents in the source.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
setupTimeSyncDeserializer(DelegatingDeserializer<TimeSync.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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()Sync
variant type- Specified by:
_variantType
in 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()The date field that is used to identify new documents in the source.API name:
field
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTimeSyncDeserializer
-