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>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DeleteByQueryResponse> Json deserializer forDeleteByQueryResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal Integerbatches()The number of scroll responses pulled back by the reindex operation.builder()final Stringcanceled()API name:canceledfinal Longcreated()The number of documents that were successfully created.final Longdeleted()The number of documents that were successfully deleted.booleanfinal List<BulkByScrollFailure> failures()The list of failures that occurred during the operation.inthashCode()final Longnoops()The number of documents that were ignored.static DeleteByQueryResponsefinal FloatThe number of requests per second effectively executed during the reindex operation.final Retriesretries()API name:retriesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal IntegersliceId()API name:slice_idslices()API name:slicesfinal Stringtask()API name:taskfinal TimeAPI name:throttledfinal LongAPI name:throttled_millisfinal TimeThe amount time before the throttling will end.final LongWhen the throttling will end in milliseconds.final BooleantimedOut()Whether the operation timed out.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Longtook()The time taken by the operation in milliseconds.final Longtotal()The number of documents that were successfully processed.final Longupdated()The number of documents that were successfully updated after the reindex operation.final LongThe number of version conflicts encountered by the reindex operation.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forDeleteByQueryResponse
-
-
Method Details
-
of
public static DeleteByQueryResponse of(Function<DeleteByQueryResponse.Builder, ObjectBuilder<DeleteByQueryResponse>> fn) -
batches
The number of scroll responses pulled back by the reindex operation.API name:
batches -
canceled
API name:canceled -
created
The number of documents that were successfully created.API name:
created -
deleted
The number of documents that were successfully deleted.API name:
deleted -
failures
The list of failures that occurred during the operation.API name:
failures -
noops
The number of documents that were ignored.API name:
noops -
requestsPerSecond
The number of requests per second effectively executed during the reindex operation.API name:
requests_per_second -
retries
API name:retries -
sliceId
API name:slice_id -
slices
API name:slices -
task
API name:task -
throttled
API name:throttled -
throttledMillis
API name:throttled_millis -
throttledUntil
The amount time before the throttling will end.API name:
throttled_until -
throttledUntilMillis
When the throttling will end in milliseconds.API name:
throttled_until_millis -
timedOut
Whether the operation timed out.API name:
timed_out -
took
The time taken by the operation in milliseconds.API name:
took -
total
The number of documents that were successfully processed.API name:
total -
updated
The number of documents that were successfully updated after the reindex operation.API name:
updated -
versionConflicts
The number of version conflicts encountered by the reindex operation.API name:
version_conflicts -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteByQueryResponse.Builder,DeleteByQueryResponse> - Returns:
- a new builder instance.
-
builder
-
setupDeleteByQueryResponseDeserializer
protected static void setupDeleteByQueryResponseDeserializer(ObjectDeserializer<DeleteByQueryResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-