Package vertx.mongodb.effect.functions
Class FindOneAndUpdate
- java.lang.Object
-
- vertx.mongodb.effect.functions.FindOneAndUpdate
-
- All Implemented Interfaces:
Function<UpdateMessage,vertx.effect.Val<jsonvalues.JsObj>>
,vertx.effect.λ<UpdateMessage,jsonvalues.JsObj>
public class FindOneAndUpdate extends Object implements vertx.effect.λ<UpdateMessage,jsonvalues.JsObj>
-
-
Constructor Summary
Constructors Constructor Description FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier)
FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, com.mongodb.client.model.FindOneAndUpdateOptions options)
FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, com.mongodb.client.model.FindOneAndUpdateOptions options, com.mongodb.client.ClientSession session)
-
-
-
Constructor Detail
-
FindOneAndUpdate
public FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier)
-
FindOneAndUpdate
public FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, com.mongodb.client.model.FindOneAndUpdateOptions options)
-
FindOneAndUpdate
public FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, com.mongodb.client.model.FindOneAndUpdateOptions options, com.mongodb.client.ClientSession session)
-
-
Method Detail
-
apply
public vertx.effect.Val<jsonvalues.JsObj> apply(UpdateMessage message)
- Specified by:
apply
in interfaceFunction<UpdateMessage,vertx.effect.Val<jsonvalues.JsObj>>
-
-