Class GetAsyncRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.sql.GetAsyncRequest
public class GetAsyncRequest extends RequestBase
Returns the current status and available results for an async SQL search or
stored synchronous SQL search
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetAsyncRequest.BuilderBuilder forGetAsyncRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetAsyncRequest,GetAsyncResponse,ErrorResponse>_ENDPOINTEndpoint "sql.get_async". -
Method Summary
Modifier and Type Method Description java.lang.Stringdelimiter()Separator for CSV results.java.lang.Stringformat()Format for the response.java.lang.Stringid()Required - The async search IDTimekeepAlive()Retention period for the search and its results.static GetAsyncRequestof(java.util.function.Function<GetAsyncRequest.Builder,ObjectBuilder<GetAsyncRequest>> fn)TimewaitForCompletionTimeout()Period to wait for complete results.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "sql.get_async".
-
-
Method Details
-
of
public static GetAsyncRequest of(java.util.function.Function<GetAsyncRequest.Builder,ObjectBuilder<GetAsyncRequest>> fn) -
delimiter
@Nullable public final java.lang.String delimiter()Separator for CSV results. The API only supports this parameter for CSV responses.API name:
delimiter -
format
@Nullable public final java.lang.String format()Format for the response. You must specify a format using this parameter or the Accept HTTP header. If you specify both, the API uses this parameter.API name:
format -
id
public final java.lang.String id()Required - The async search IDAPI name:
id -
keepAlive
Retention period for the search and its results. Defaults to thekeep_aliveperiod for the original SQL search.API name:
keep_alive -
waitForCompletionTimeout
Period to wait for complete results. Defaults to no timeout, meaning the request waits for complete search results.API name:
wait_for_completion_timeout
-