Class SubmitResponse<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.SubmitResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SubmitResponse<TDocument> extends AsyncSearchDocumentResponseBase<TDocument>
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubmitResponse.Builder<TDocument>
Builder forSubmitResponse
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchDocumentResponseBase
AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT extends AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SubmitResponse<java.lang.Object>>
_DESERIALIZER
Json deserializer forSubmitResponse
based on named deserializers provided by the callingJsonMapper
. -
Method Summary
Modifier and Type Method Description static <TDocument>
JsonpDeserializer<SubmitResponse<TDocument>>createSubmitResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create a JSON deserializer for SubmitResponsestatic <TDocument>
SubmitResponse<TDocument>of(java.util.function.Function<SubmitResponse.Builder<TDocument>,ObjectBuilder<SubmitResponse<TDocument>>> fn)
protected static <TDocument>
voidsetupSubmitResponseDeserializer(ObjectDeserializer<SubmitResponse.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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSubmitResponse
based on named deserializers provided by the callingJsonMapper
.
-
-
Method Details
-
of
public static <TDocument> SubmitResponse<TDocument> of(java.util.function.Function<SubmitResponse.Builder<TDocument>,ObjectBuilder<SubmitResponse<TDocument>>> fn) -
createSubmitResponseDeserializer
public static <TDocument> JsonpDeserializer<SubmitResponse<TDocument>> createSubmitResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)Create a JSON deserializer for SubmitResponse -
setupSubmitResponseDeserializer
protected static <TDocument> void setupSubmitResponseDeserializer(ObjectDeserializer<SubmitResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-