Class SplitRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.SplitRequest
All Implemented Interfaces:
ElasticsearchCommonRequest, JsonpSerializable

@JsonpDeserializable
public final class SplitRequest
extends RequestBase
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • index

      public java.lang.String index()
      Required - The name of the source index to split

      API name: index

    • target

      public java.lang.String target()
      Required - The name of the target index to split into

      API name: target

    • masterTimeout

      @Nullable public java.lang.String masterTimeout()
      Specify timeout for connection to master

      API name: master_timeout

    • timeout

      @Nullable public java.lang.String timeout()
      Explicit operation timeout

      API name: timeout

    • waitForActiveShards

      @Nullable public jakarta.json.JsonValue waitForActiveShards()
      Set the number of active shards to wait for on the shrunken index before the operation returns.

      API name: wait_for_active_shards

    • aliases

      @Nullable public java.util.Map<java.lang.String,​Alias> aliases()
      API name: aliases
    • settings

      @Nullable public java.util.Map<java.lang.String,​JsonData> settings()
      API name: settings
    • 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)
    • setupSplitRequestDeserializer

      protected static void setupSplitRequestDeserializer​(DelegatingDeserializer<SplitRequest.Builder> op)