Class TasksRequestBuilder<Request extends BaseTasksRequest<Request>,Response extends BaseTasksResponse,RequestBuilder extends TasksRequestBuilder<Request,Response,RequestBuilder>>
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.tasks.TasksRequestBuilder<Request,Response,RequestBuilder>
- Direct Known Subclasses:
CancelTasksRequestBuilder
,ListTasksRequestBuilder
public class TasksRequestBuilder<Request extends BaseTasksRequest<Request>,Response extends BaseTasksResponse,RequestBuilder extends TasksRequestBuilder<Request,Response,RequestBuilder>>
extends ActionRequestBuilder<Request,Response>
Builder for task-based requests
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ModifierConstructorDescriptionprotected
TasksRequestBuilder
(ElasticsearchClient client, ActionType<Response> action, Request request) -
Method Summary
Modifier and TypeMethodDescriptionfinal RequestBuilder
setActions
(String... actions) final RequestBuilder
setNodesIds
(String... nodesIds) final RequestBuilder
setParentTaskId
(TaskId taskId) Match all children of the provided task.final RequestBuilder
Set the task to lookup.final RequestBuilder
setTimeout
(TimeValue timeout)
-
Constructor Details
-
TasksRequestBuilder
protected TasksRequestBuilder(ElasticsearchClient client, ActionType<Response> action, Request request)
-
-
Method Details
-
setTaskId
Set the task to lookup. -
setNodesIds
-
setActions
-
setTimeout
-
setParentTaskId
Match all children of the provided task.
-