Class DeleteOne<O>

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

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

    Fields inherited from interface vertx.effect.Lambdac

    empty
  • Constructor Summary

    Constructors
    Constructor
    Description
    DeleteOne(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.DeleteResult,O> resultConverter)
     
    DeleteOne(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.DeleteResult,O> resultConverter, com.mongodb.client.model.DeleteOptions options)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    vertx.effect.VIO<O>
    apply(io.vertx.core.MultiMap context, jsonvalues.JsObj query)
     

    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

    • DeleteOne

      public DeleteOne(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.DeleteResult,O> resultConverter, com.mongodb.client.model.DeleteOptions options)
    • DeleteOne

      public DeleteOne(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.DeleteResult,O> resultConverter)
  • Method Details

    • apply

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