Class InsertOne<R>

java.lang.Object
vertx.mongodb.effect.functions.InsertOne<R>
All Implemented Interfaces:
BiFunction<io.vertx.core.MultiMap,jsonvalues.JsObj,vertx.effect.VIO<R>>, vertx.effect.Lambdac<jsonvalues.JsObj,R>

public class InsertOne<R> extends Object implements vertx.effect.Lambdac<jsonvalues.JsObj,R>
  • Field Summary

    Fields inherited from interface vertx.effect.Lambdac

    empty
  • 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

    Modifier and Type
    Method
    Description
    vertx.effect.VIO<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

    Methods inherited from interface vertx.effect.Lambdac

    apply, apply, compose, then
  • Constructor Details

    • InsertOne

      public InsertOne(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.InsertOneResult,R> resultConverter)
    • InsertOne

      public InsertOne(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.InsertOneResult,R> resultConverter, com.mongodb.client.model.InsertOneOptions options)
  • Method Details

    • apply

      public vertx.effect.VIO<R> apply(io.vertx.core.MultiMap context, jsonvalues.JsObj message)
      Specified by:
      apply in interface BiFunction<io.vertx.core.MultiMap,jsonvalues.JsObj,vertx.effect.VIO<R>>