Class AsyncQueryStopRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<AsyncQueryStopRequest.Builder>
co.elastic.clients.elasticsearch.esql.AsyncQueryStopRequest.Builder
- All Implemented Interfaces:
WithJson<AsyncQueryStopRequest.Builder>
,ObjectBuilder<AsyncQueryStopRequest>
- Enclosing class:
- AsyncQueryStopRequest
public static class AsyncQueryStopRequest.Builder
extends RequestBase.AbstractBuilder<AsyncQueryStopRequest.Builder>
implements ObjectBuilder<AsyncQueryStopRequest>
Builder for
AsyncQueryStopRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aAsyncQueryStopRequest
.dropNullColumns
(Boolean value) Indicates whether columns that are entirelynull
will be removed from thecolumns
andvalues
portion of the results.Required - The unique identifier of the query.protected AsyncQueryStopRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<AsyncQueryStopRequest.Builder>
-
build
Builds aAsyncQueryStopRequest
.- Specified by:
build
in interfaceObjectBuilder<AsyncQueryStopRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-