java.lang.Object
org.opensearch.client.opensearch.core.reindex_rethrottle.ReindexStatus
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<ReindexStatus.Builder,ReindexStatus>

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class ReindexStatus extends Object implements PlainJsonSerializable, ToCopyableBuilder<ReindexStatus.Builder,ReindexStatus>
  • Field Details

  • Method Details

    • of

    • batches

      public final long batches()
      Required - The number of scroll responses shown by the reindex.

      API name: batches

    • created

      public final long created()
      Required - The number of documents that were successfully created.

      API name: created

    • deleted

      public final long deleted()
      Required - The number of documents that were successfully deleted.

      API name: deleted

    • noops

      public final long noops()
      Required - The number of documents that were ignored because the script used for the reindex operation returned a noop value for ctx.op.

      API name: noops

    • requestsPerSecond

      public final float requestsPerSecond()
      Required - The number of successful requests per second during the reindex operation.

      API name: requests_per_second

    • retries

      @Nonnull public final Retries retries()
      Required - API name: retries
    • throttled

      @Nullable public final Time throttled()
      API name: throttled
    • throttledMillis

      public final long throttledMillis()
      Required - API name: throttled_millis
    • throttledUntil

      @Nullable public final Time throttledUntil()
      API name: throttled_until
    • throttledUntilMillis

      public final long throttledUntilMillis()
      Required - API name: throttled_until_millis
    • total

      public final long total()
      Required - The number of documents that were successfully processed.

      API name: total

    • updated

      public final long updated()
      Required - The number of documents that were successfully updated.

      API name: updated

    • versionConflicts

      public final long versionConflicts()
      Required - The number of version conflicts that reindex hits.

      API name: version_conflicts

    • 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)
    • toBuilder

      @Nonnull public ReindexStatus.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ReindexStatus.Builder,ReindexStatus>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static ReindexStatus.Builder builder()
    • setupReindexStatusDeserializer

      protected static void setupReindexStatusDeserializer(ObjectDeserializer<ReindexStatus.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object