Class UpdateByQueryRethrottleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.core.UpdateByQueryRethrottleRequest
Throttle an update by query operation.
 
Change the number of requests per second for a particular update by query operation. Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionEndpoint "update_by_query_rethrottle".
- 
Method SummaryModifier and TypeMethodDescriptionof(Function<UpdateByQueryRethrottleRequest.Builder, ObjectBuilder<UpdateByQueryRethrottleRequest>> fn) final FloatThe throttle for this request in sub-requests per second.final StringtaskId()Required - The ID for the task.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTpublic static final Endpoint<UpdateByQueryRethrottleRequest,UpdateByQueryRethrottleResponse, _ENDPOINTErrorResponse> Endpoint "update_by_query_rethrottle".
 
- 
- 
Method Details- 
of
- 
requestsPerSecondThe throttle for this request in sub-requests per second. To turn off throttling, set it to-1.API name: requests_per_second
- 
taskIdRequired - The ID for the task.API name: task_id
 
-