Class FindOneAndUpdate

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

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

    Fields inherited from interface vertx.effect.Lambdac

    empty
  • Constructor Summary

    Constructors
    Constructor
    Description
    FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier)
     
    FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, com.mongodb.client.model.FindOneAndUpdateOptions options)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    vertx.effect.VIO<jsonvalues.JsObj>
    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
  • Constructor Details

    • FindOneAndUpdate

      public FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier)
    • FindOneAndUpdate

      public FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, com.mongodb.client.model.FindOneAndUpdateOptions options)
  • Method Details

    • apply

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