Class AsyncSearchStatusRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.async_search.AsyncSearchStatusRequest
public class AsyncSearchStatusRequest extends RequestBase
Retrieves the status of a previously submitted async search request given its
ID.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AsyncSearchStatusRequest.Builder
Builder forAsyncSearchStatusRequest
.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 SimpleEndpoint<AsyncSearchStatusRequest,?>
_ENDPOINT
Endpoint "async_search.status
". -
Method Summary
Modifier and Type Method Description static <TDocument>
Endpoint<AsyncSearchStatusRequest,AsyncSearchStatusResponse<TDocument>,ErrorResponse>createStatusEndpoint(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create an "async_search.status
" endpoint.java.lang.String
id()
Required - The async search IDstatic AsyncSearchStatusRequest
of(java.util.function.Function<AsyncSearchStatusRequest.Builder,ObjectBuilder<AsyncSearchStatusRequest>> fn)
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "async_search.status
".
-
-
Method Details
-
of
public static AsyncSearchStatusRequest of(java.util.function.Function<AsyncSearchStatusRequest.Builder,ObjectBuilder<AsyncSearchStatusRequest>> fn) -
id
public final java.lang.String id()Required - The async search IDAPI name:
id
-
createStatusEndpoint
public static <TDocument> Endpoint<AsyncSearchStatusRequest,AsyncSearchStatusResponse<TDocument>,ErrorResponse> createStatusEndpoint(JsonpDeserializer<TDocument> tDocumentDeserializer)Create an "async_search.status
" endpoint.
-