Class InsertMany<R>

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

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

    Fields inherited from interface vertx.effect.Lambdac

    empty
  • Constructor Summary

    Constructors
    Constructor
    Description
    InsertMany(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.InsertManyResult,R> resultConverter)
     
    InsertMany(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.InsertManyResult,R> resultConverter, com.mongodb.client.model.InsertManyOptions options)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    vertx.effect.VIO<R>
    apply(io.vertx.core.MultiMap context, jsonvalues.JsArray 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

    • InsertMany

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

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

    • apply

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