Class DeleteByQueryResponse

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

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

  • Method Details

    • of

    • batches

      @Nullable public final Integer batches()
      The number of scroll responses pulled back by the reindex operation.

      API name: batches

    • canceled

      @Nullable public final String canceled()
      API name: canceled
    • created

      @Nullable public final Long created()
      The number of documents that were successfully created.

      API name: created

    • deleted

      @Nullable public final Long deleted()
      The number of documents that were successfully deleted.

      API name: deleted

    • failures

      @Nonnull public final List<BulkByScrollFailure> failures()
      The list of failures that occurred during the operation.

      API name: failures

    • noops

      @Nullable public final Long noops()
      The number of documents that were ignored.

      API name: noops

    • requestsPerSecond

      @Nullable public final Float requestsPerSecond()
      The number of requests per second effectively executed during the reindex operation.

      API name: requests_per_second

    • retries

      @Nullable public final Retries retries()
      API name: retries
    • sliceId

      @Nullable public final Integer sliceId()
      API name: slice_id
    • slices

      @Nonnull public final List<BulkByScrollTaskStatusOrException> slices()
      API name: slices
    • task

      @Nullable public final String task()
      API name: task
    • throttled

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

      @Nullable public final Long throttledMillis()
      API name: throttled_millis
    • throttledUntil

      @Nullable public final Time throttledUntil()
      The amount time before the throttling will end.

      API name: throttled_until

    • throttledUntilMillis

      @Nullable public final Long throttledUntilMillis()
      When the throttling will end in milliseconds.

      API name: throttled_until_millis

    • timedOut

      @Nullable public final Boolean timedOut()
      Whether the operation timed out.

      API name: timed_out

    • took

      @Nullable public final Long took()
      The time taken by the operation in milliseconds.

      API name: took

    • total

      @Nullable public final Long total()
      The number of documents that were successfully processed.

      API name: total

    • updated

      @Nullable public final Long updated()
      The number of documents that were successfully updated after the reindex operation.

      API name: updated

    • versionConflicts

      @Nullable public final Long versionConflicts()
      The number of version conflicts encountered by the reindex operation.

      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 DeleteByQueryResponse.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<DeleteByQueryResponse.Builder,DeleteByQueryResponse>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static DeleteByQueryResponse.Builder builder()
    • setupDeleteByQueryResponseDeserializer

      protected static void setupDeleteByQueryResponseDeserializer(ObjectDeserializer<DeleteByQueryResponse.Builder> op)
    • hashCode

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

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