Class UpdateResponse<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch._types.WriteResponseBase
co.elastic.clients.elasticsearch._core.UpdateResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
public final class UpdateResponse<TDocument> extends WriteResponseBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateResponse.Builder<TDocument>Builder forUpdateResponse.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.WriteResponseBase
WriteResponseBase.AbstractBuilder<BuilderT extends WriteResponseBase.AbstractBuilder<BuilderT>> -
Constructor Summary
Constructors Constructor Description UpdateResponse(UpdateResponse.Builder<TDocument> builder)UpdateResponse(java.util.function.Function<UpdateResponse.Builder<TDocument>,UpdateResponse.Builder<TDocument>> fn) -
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:getprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static <TDocument>
voidsetupUpdateResponseDeserializer(DelegatingDeserializer<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, versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
UpdateResponse
-
UpdateResponse
public UpdateResponse(java.util.function.Function<UpdateResponse.Builder<TDocument>,UpdateResponse.Builder<TDocument>> fn)
-
-
Method Details
-
get
API name:get -
serializeInternal
- Overrides:
serializeInternalin classWriteResponseBase
-
createUpdateResponseDeserializer
public static <TDocument> JsonpDeserializer<UpdateResponse<TDocument>> createUpdateResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)Create a json deserializer for UpdateResponse -
setupUpdateResponseDeserializer
protected static <TDocument> void setupUpdateResponseDeserializer(DelegatingDeserializer<UpdateResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-