Class GetAsyncRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.sql.GetAsyncRequest
Get async SQL search results. Get the current status and available results
for an async SQL search or stored synchronous SQL search.
If the Elasticsearch security features are enabled, only the user who first submitted the SQL search can retrieve the search using this API.
- 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<GetAsyncRequest,
GetAsyncResponse, ErrorResponse> Endpoint "sql.get_async
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The separator for CSV results.final String
format()
The format for the response.final String
id()
Required - The identifier for the search.final Time
The retention period for the search and its results.static GetAsyncRequest
final Time
The period to wait for complete results.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "sql.get_async
".
-
-
Method Details
-
of
public static GetAsyncRequest of(Function<GetAsyncRequest.Builder, ObjectBuilder<GetAsyncRequest>> fn) -
delimiter
The separator for CSV results. The API supports this parameter only for CSV responses.API name:
delimiter
-
format
The format for the response. You must specify a format using this parameter or theAccept
HTTP header. If you specify both, the API uses this parameter.API name:
format
-
id
Required - The identifier for the search.API name:
id
-
keepAlive
The retention period for the search and its results. It defaults to thekeep_alive
period for the original SQL search.API name:
keep_alive
-
waitForCompletionTimeout
The period to wait for complete results. It defaults to no timeout, meaning the request waits for complete search results.API name:
wait_for_completion_timeout
-