java.lang.Object
co.elastic.clients.elasticsearch.transform.TimeSync
All Implemented Interfaces:
SyncVariant, JsonpSerializable

@JsonpDeserializable public class TimeSync extends Object implements SyncVariant, JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • _syncKind

      public Sync.Kind _syncKind()
      Sync variant kind.
      Specified by:
      _syncKind in interface SyncVariant
    • delay

      @Nullable public final Time delay()
      The time delay between the current time and the latest input data time.

      API name: delay

    • field

      public final String 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

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupTimeSyncDeserializer

      protected static void setupTimeSyncDeserializer(ObjectDeserializer<TimeSync.Builder> op)