Class DeleteByQueryRethrottleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.core.DeleteByQueryRethrottleRequest
Throttle a delete by query operation.
Change the number of requests per second for a particular delete 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 Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "delete_by_query_rethrottle
". -
Method Summary
Modifier and TypeMethodDescriptionof
(Function<DeleteByQueryRethrottleRequest.Builder, ObjectBuilder<DeleteByQueryRethrottleRequest>> fn) final Float
The throttle for this request in sub-requests per second.final String
taskId()
Required - The ID for the task.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteByQueryRethrottleRequest,DeleteByQueryRethrottleResponse, _ENDPOINTErrorResponse> Endpoint "delete_by_query_rethrottle
".
-
-
Method Details
-
of
-
requestsPerSecond
The throttle for this request in sub-requests per second. To disable throttling, set it to-1
.API name:
requests_per_second
-
taskId
Required - The ID for the task.API name:
task_id
-