Class DeleteAsyncRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.sql.DeleteAsyncRequest
Delete an async SQL search. Delete an async SQL search or a stored
synchronous SQL search. If the search is still running, the API cancels it.
If the Elasticsearch security features are enabled, only the following users can use this API to delete a search:
- Users with the
cancel_task
cluster privilege. - The user who first submitted the search.
- 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 TypeFieldDescriptionstatic final Endpoint<DeleteAsyncRequest,
DeleteAsyncResponse, ErrorResponse> Endpoint "sql.delete_async
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
id()
Required - The identifier for the search.static DeleteAsyncRequest
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "sql.delete_async
".
-
-
Method Details
-
of
public static DeleteAsyncRequest of(Function<DeleteAsyncRequest.Builder, ObjectBuilder<DeleteAsyncRequest>> fn) -
id
Required - The identifier for the search.API name:
id
-