Class GetResponse<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.GetResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
public final class GetResponse<TDocument> extends AsyncSearchDocumentResponseBase<TDocument>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetResponse.Builder<TDocument>
Builder forGetResponse
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchDocumentResponseBase
AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT extends AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT>>
-
Constructor Summary
Constructors Constructor Description GetResponse(GetResponse.Builder<TDocument> builder)
GetResponse(java.util.function.Function<GetResponse.Builder<TDocument>,GetResponse.Builder<TDocument>> fn)
-
Method Summary
Modifier and Type Method Description static <TDocument>
JsonpDeserializer<GetResponse<TDocument>>createGetResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create a json deserializer for GetResponseprotected static <TDocument>
voidsetupGetResponseDeserializer(DelegatingDeserializer<GetResponse.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
expirationTimeInMillis, id, isPartial, isRunning, serialize, setupAsyncSearchResponseBaseDeserializer, startTimeInMillis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GetResponse
-
GetResponse
public GetResponse(java.util.function.Function<GetResponse.Builder<TDocument>,GetResponse.Builder<TDocument>> fn)
-
-
Method Details
-
createGetResponseDeserializer
public static <TDocument> JsonpDeserializer<GetResponse<TDocument>> createGetResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)Create a json deserializer for GetResponse -
setupGetResponseDeserializer
protected static <TDocument> void setupGetResponseDeserializer(DelegatingDeserializer<GetResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-