Class DeleteByQueryResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.DeleteByQueryResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DeleteByQueryResponse>Json deserializer forDeleteByQueryResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal Longbatches()The number of scroll responses pulled back by the delete by query.final Longdeleted()The number of documents that were successfully deleted.final List<BulkIndexByScrollFailure>failures()An array of failures if there were any unrecoverable errors during the process.final Longnoops()This field is always equal to zero for delete by query.static DeleteByQueryResponsefinal FloatThe number of requests per second effectively run during the delete by query.final Retriesretries()The number of retries attempted by delete by query.voidserialize(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_idfinal Stringtask()API name:taskfinal TimeAPI name:throttledfinal LongThe number of milliseconds the request slept to conform torequests_per_second.final TimeAPI name:throttled_untilfinal LongThis field should always be equal to zero in a_delete_by_queryresponse.final BooleantimedOut()Iftrue, some requests run during the delete by query operation timed out.final Longtook()The number of milliseconds from start to end of the whole operation.toString()final Longtotal()The number of documents that were successfully processed.final LongThe number of version conflicts that the delete by query hit.
-
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 delete by query.API name:
batches -
deleted
The number of documents that were successfully deleted.API name:
deleted -
failures
An array of failures if there were any unrecoverable errors during the process. If this array is not empty, the request ended abnormally because of those failures. Delete by query is implemented using batches and any failures cause the entire process to end but all failures in the current batch are collected into the array. You can use theconflictsoption to prevent reindex from ending on version conflicts.API name:
failures -
noops
This field is always equal to zero for delete by query. It exists only so that delete by query, update by query, and reindex APIs return responses with the same structure.API name:
noops -
requestsPerSecond
The number of requests per second effectively run during the delete by query.API name:
requests_per_second -
retries
The number of retries attempted by delete by query.bulkis the number of bulk actions retried.searchis the number of search actions retried.API name:
retries -
sliceId
API name:slice_id -
task
API name:task -
throttled
API name:throttled -
throttledMillis
The number of milliseconds the request slept to conform torequests_per_second.API name:
throttled_millis -
throttledUntil
API name:throttled_until -
throttledUntilMillis
This field should always be equal to zero in a_delete_by_queryresponse. It has meaning only when using the task API, where it indicates the next time (in milliseconds since epoch) a throttled request will be run again in order to conform torequests_per_second.API name:
throttled_until_millis -
timedOut
Iftrue, some requests run during the delete by query operation timed out.API name:
timed_out -
took
The number of milliseconds from start to end of the whole operation.API name:
took -
total
The number of documents that were successfully processed.API name:
total -
versionConflicts
The number of version conflicts that the delete by query hit.API name:
version_conflicts -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDeleteByQueryResponseDeserializer
protected static void setupDeleteByQueryResponseDeserializer(ObjectDeserializer<DeleteByQueryResponse.Builder> op)
-