java.lang.Object
vertx.mongodb.effect.functions.FindOneAndUpdate
- All Implemented Interfaces:
BiFunction<io.vertx.core.MultiMap,
,UpdateMessage, vertx.effect.VIO<jsonvalues.JsObj>> vertx.effect.Lambdac<UpdateMessage,
jsonvalues.JsObj>
public class FindOneAndUpdate
extends Object
implements vertx.effect.Lambdac<UpdateMessage,jsonvalues.JsObj>
-
Field Summary
Fields inherited from interface vertx.effect.Lambdac
empty
-
Constructor Summary
ConstructorsConstructorDescriptionFindOneAndUpdate
(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier) FindOneAndUpdate
(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, com.mongodb.client.model.FindOneAndUpdateOptions options) -
Method Summary
Modifier and TypeMethodDescriptionvertx.effect.VIO<jsonvalues.JsObj>
apply
(io.vertx.core.MultiMap context, UpdateMessage message) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
Methods inherited from interface vertx.effect.Lambdac
apply, apply, compose, then
-
Constructor Details
-
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)
-
-
Method Details
-
apply
public vertx.effect.VIO<jsonvalues.JsObj> apply(io.vertx.core.MultiMap context, UpdateMessage message) - Specified by:
apply
in interfaceBiFunction<io.vertx.core.MultiMap,
UpdateMessage, vertx.effect.VIO<jsonvalues.JsObj>>
-