java.lang.Object
vertx.mongodb.effect.functions.ReplaceOne<O>
- All Implemented Interfaces:
BiFunction<io.vertx.core.MultiMap,
,UpdateMessage, vertx.effect.VIO<O>> vertx.effect.Lambdac<UpdateMessage,
O>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mongodb.client.model.ReplaceOptions
Fields inherited from interface vertx.effect.Lambdac
empty
-
Constructor Summary
ConstructorsConstructorDescriptionReplaceOne
(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.UpdateResult, O> resultConverter) ReplaceOne
(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.UpdateResult, O> resultConverter, com.mongodb.client.model.ReplaceOptions options) -
Method Summary
Modifier and TypeMethodDescriptionvertx.effect.VIO<O>
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
-
Field Details
-
DEFAULT_OPTIONS
public static final com.mongodb.client.model.ReplaceOptions DEFAULT_OPTIONS
-
-
Constructor Details
-
ReplaceOne
-
ReplaceOne
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<io.vertx.core.MultiMap,
UpdateMessage, vertx.effect.VIO<O>>
-