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 TypeMethodDescriptionsetActions(String... actions)
setNodesIds(String... nodesIds)
setParentTaskId(TaskId taskId)
Match all children of the provided task.Set the task to lookup.setTimeout(org.elasticsearch.core.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.
-