Class GetAsyncSearchResponse<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase
co.elastic.clients.elasticsearch.async_search.AsyncSearchDocumentResponseBase<TDocument>
co.elastic.clients.elasticsearch.async_search.GetAsyncSearchResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GetAsyncSearchResponse<TDocument>
extends AsyncSearchDocumentResponseBase<TDocument>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchDocumentResponseBase
AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,
BuilderT extends AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument, BuilderT>> -
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetAsyncSearchResponse<Object>>
Json deserializer forGetAsyncSearchResponse
based on named deserializers provided by the callingJsonMapper
. -
Method Summary
Modifier and TypeMethodDescriptionstatic <TDocument>
JsonpDeserializer<GetAsyncSearchResponse<TDocument>>createGetAsyncSearchResponseDeserializer
(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for GetAsyncSearchResponsestatic <TDocument>
GetAsyncSearchResponse<TDocument>of
(Function<GetAsyncSearchResponse.Builder<TDocument>, ObjectBuilder<GetAsyncSearchResponse<TDocument>>> fn) protected static <TDocument>
voidsetupGetAsyncSearchResponseDeserializer
(ObjectDeserializer<GetAsyncSearchResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer) Methods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchDocumentResponseBase
response, serializeInternal, setupAsyncSearchDocumentResponseBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase
completionTime, completionTimeInMillis, expirationTime, expirationTimeInMillis, id, isPartial, isRunning, serialize, setupAsyncSearchResponseBaseDeserializer, startTime, startTimeInMillis, toString
-
Field Details
-
_DESERIALIZER
Json deserializer forGetAsyncSearchResponse
based on named deserializers provided by the callingJsonMapper
.
-
-
Method Details
-
of
public static <TDocument> GetAsyncSearchResponse<TDocument> of(Function<GetAsyncSearchResponse.Builder<TDocument>, ObjectBuilder<GetAsyncSearchResponse<TDocument>>> fn) -
createGetAsyncSearchResponseDeserializer
public static <TDocument> JsonpDeserializer<GetAsyncSearchResponse<TDocument>> createGetAsyncSearchResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for GetAsyncSearchResponse -
setupGetAsyncSearchResponseDeserializer
protected static <TDocument> void setupGetAsyncSearchResponseDeserializer(ObjectDeserializer<GetAsyncSearchResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-