Class AsyncQueryStopRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.esql.AsyncQueryStopRequest
Stop async ES|QL query.
This API interrupts the query execution and returns the results so far. If the Elasticsearch security features are enabled, only the user who first submitted the ES|QL query can stop it.
- 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<AsyncQueryStopRequest,
BinaryResponse, ErrorResponse> Endpoint "esql.async_query_stop
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Indicates whether columns that are entirelynull
will be removed from thecolumns
andvalues
portion of the results.final String
id()
Required - The unique identifier of the query.static AsyncQueryStopRequest
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "esql.async_query_stop
".
-
-
Method Details
-
of
public static AsyncQueryStopRequest of(Function<AsyncQueryStopRequest.Builder, ObjectBuilder<AsyncQueryStopRequest>> fn) -
dropNullColumns
Indicates whether columns that are entirelynull
will be removed from thecolumns
andvalues
portion of the results. Iftrue
, the response will include an extra section under the nameall_columns
which has the name of all the columns.API name:
drop_null_columns
-
id
Required - The unique identifier of the query. A query ID is provided in the ES|QL async query API response for a query that does not complete in the designated time. A query ID is also provided when the request was submitted with thekeep_on_completion
parameter set totrue
.API name:
id
-