Package vertx.mongodb.effect.functions
Class InsertOne<R>
- java.lang.Object
-
- vertx.mongodb.effect.functions.InsertOne<R>
-
- All Implemented Interfaces:
BiFunction<io.vertx.core.MultiMap,jsonvalues.JsObj,vertx.effect.Val<R>>
,vertx.effect.λc<jsonvalues.JsObj,R>
public class InsertOne<R> extends Object implements vertx.effect.λc<jsonvalues.JsObj,R>
-
-
Constructor Summary
Constructors Constructor Description InsertOne(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.InsertOneResult,R> resultConverter)
InsertOne(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.InsertOneResult,R> resultConverter, com.mongodb.client.model.InsertOneOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description vertx.effect.Val<R>
apply(io.vertx.core.MultiMap context, jsonvalues.JsObj 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
-
-
-
-
Method Detail
-
apply
public vertx.effect.Val<R> apply(io.vertx.core.MultiMap context, jsonvalues.JsObj message)
- Specified by:
apply
in interfaceBiFunction<io.vertx.core.MultiMap,jsonvalues.JsObj,vertx.effect.Val<R>>
-
-