java.lang.Object
co.elastic.clients.elasticsearch._core.reindex.Destination
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public final class Destination
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • index

      @Nullable public java.lang.String index()
      The destination index for the transform. The mappings of the destination index are deduced based on the source fields when possible. If alternate mappings are required, use the Create index API prior to starting the transform.

      API name: index

    • opType

      @Nullable public OpType opType()
      API name: op_type
    • pipeline

      @Nullable public java.lang.String pipeline()
      The unique identifier for an ingest pipeline.

      API name: pipeline

    • routing

      @Nullable public java.lang.String routing()
      API name: routing
    • versionType

      @Nullable public VersionType versionType()
      API name: version_type
    • 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)
    • setupDestinationDeserializer

      protected static void setupDestinationDeserializer​(DelegatingDeserializer<Destination.Builder> op)