Class UpdateResponse<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch._types.WriteResponseBase
co.elastic.clients.elasticsearch.core.update.UpdateWriteResponseBase<TDocument>
co.elastic.clients.elasticsearch.core.UpdateResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class UpdateResponse<TDocument> extends UpdateWriteResponseBase<TDocument>
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateResponse.Builder<TDocument>
Builder forUpdateResponse
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.core.update.UpdateWriteResponseBase
UpdateWriteResponseBase.AbstractBuilder<TDocument,BuilderT extends UpdateWriteResponseBase.AbstractBuilder<TDocument,BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<UpdateResponse<java.lang.Object>>
_DESERIALIZER
Json deserializer forUpdateResponse
based on named deserializers provided by the callingJsonMapper
. -
Method Summary
Modifier and Type Method Description static <TDocument>
JsonpDeserializer<UpdateResponse<TDocument>>createUpdateResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create a JSON deserializer for UpdateResponsestatic <TDocument>
UpdateResponse<TDocument>of(java.util.function.Function<UpdateResponse.Builder<TDocument>,ObjectBuilder<UpdateResponse<TDocument>>> fn)
protected static <TDocument>
voidsetupUpdateResponseDeserializer(ObjectDeserializer<UpdateResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
Methods inherited from class co.elastic.clients.elasticsearch.core.update.UpdateWriteResponseBase
get, serializeInternal, setupUpdateWriteResponseBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.WriteResponseBase
forcedRefresh, id, index, primaryTerm, result, seqNo, serialize, setupWriteResponseBaseDeserializer, shards, toString, version
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forUpdateResponse
based on named deserializers provided by the callingJsonMapper
.
-
-
Method Details
-
of
public static <TDocument> UpdateResponse<TDocument> of(java.util.function.Function<UpdateResponse.Builder<TDocument>,ObjectBuilder<UpdateResponse<TDocument>>> fn) -
createUpdateResponseDeserializer
public static <TDocument> JsonpDeserializer<UpdateResponse<TDocument>> createUpdateResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)Create a JSON deserializer for UpdateResponse -
setupUpdateResponseDeserializer
protected static <TDocument> void setupUpdateResponseDeserializer(ObjectDeserializer<UpdateResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-