Class UpdateByQueryResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.UpdateByQueryResponse
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<UpdateByQueryResponse>Json deserializer forUpdateByQueryResponse
- 
Method SummaryModifier and TypeMethodDescriptionfinal Longbatches()The number of scroll responses pulled back by the update by query.final Longdeleted()The number of documents that were successfully deleted.final List<BulkIndexByScrollFailure>failures()Array of failures if there were any unrecoverable errors during the process.final Longnoops()The number of documents that were ignored because the script used for the update by query returned a noop value forctx.op.static UpdateByQueryResponsefinal FloatThe number of requests per second effectively run during the update by query.final Retriesretries()The number of retries attempted by update 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 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 an _update_by_query response.final BooleantimedOut()If true, some requests timed out during the update by query.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 Longupdated()The number of documents that were successfully updated.final LongThe number of version conflicts that the update by query hit.
- 
Field Details- 
_DESERIALIZERJson deserializer forUpdateByQueryResponse
 
- 
- 
Method Details- 
ofpublic static UpdateByQueryResponse of(Function<UpdateByQueryResponse.Builder, ObjectBuilder<UpdateByQueryResponse>> fn) 
- 
batchesThe number of scroll responses pulled back by the update by query.API name: batches
- 
failuresArray of failures if there were any unrecoverable errors during the process. If this is non-empty then the request ended because of those failures. Update by query is implemented using batches. Any failure causes 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 when version conflicts occur.API name: failures
- 
noopsThe number of documents that were ignored because the script used for the update by query returned a noop value forctx.op.API name: noops
- 
deletedThe number of documents that were successfully deleted.API name: deleted
- 
requestsPerSecondThe number of requests per second effectively run during the update by query.API name: requests_per_second
- 
retriesThe number of retries attempted by update by query.bulkis the number of bulk actions retried.searchis the number of search actions retried.API name: retries
- 
taskAPI name:task
- 
timedOutIf true, some requests timed out during the update by query.API name: timed_out
- 
tookThe number of milliseconds from start to end of the whole operation.API name: took
- 
totalThe number of documents that were successfully processed.API name: total
- 
updatedThe number of documents that were successfully updated.API name: updated
- 
versionConflictsThe number of version conflicts that the update by query hit.API name: version_conflicts
- 
throttledAPI name:throttled
- 
throttledMillisThe number of milliseconds the request slept to conform torequests_per_second.API name: throttled_millis
- 
throttledUntilAPI name:throttled_until
- 
throttledUntilMillisThis field should always be equal to zero in an _update_by_query response. It only has meaning 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
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupUpdateByQueryResponseDeserializerprotected static void setupUpdateByQueryResponseDeserializer(ObjectDeserializer<UpdateByQueryResponse.Builder> op) 
 
-