Class UpdateResponse<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch._types.WriteResponseBase
co.elastic.clients.elasticsearch.core.UpdateResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class UpdateResponse<TDocument> extends WriteResponseBase
- 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._types.WriteResponseBase
WriteResponseBase.AbstractBuilder<BuilderT extends WriteResponseBase.AbstractBuilder<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 UpdateResponseInlineGet<TDocument>
get()
API name:get
static <TDocument>
UpdateResponse<TDocument>of(java.util.function.Function<UpdateResponse.Builder<TDocument>,ObjectBuilder<UpdateResponse<TDocument>>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static <TDocument>
voidsetupUpdateResponseDeserializer(ObjectDeserializer<UpdateResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
Methods inherited from class co.elastic.clients.elasticsearch._types.WriteResponseBase
forcedRefresh, id, index, primaryTerm, result, seqNo, serialize, setupWriteResponseBaseDeserializer, shards, type, version
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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) -
get
API name:get
-
serializeInternal
- Overrides:
serializeInternal
in classWriteResponseBase
-
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)
-