Package mongoval.functions
Class FindOneAndUpdate
- java.lang.Object
-
- mongoval.functions.FindOneAndUpdate
-
- All Implemented Interfaces:
Function<UpdateMessage,jsonvalues.JsObj>
public class FindOneAndUpdate extends Object implements Function<UpdateMessage,jsonvalues.JsObj>
-
-
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)
FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, com.mongodb.client.model.FindOneAndUpdateOptions options, com.mongodb.client.ClientSession session)
-
-
-
Constructor Detail
-
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)
-
FindOneAndUpdate
public FindOneAndUpdate(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, com.mongodb.client.model.FindOneAndUpdateOptions options, com.mongodb.client.ClientSession session)
-
-
Method Detail
-
apply
public jsonvalues.JsObj apply(UpdateMessage message)
- Specified by:
apply
in interfaceFunction<UpdateMessage,jsonvalues.JsObj>
-
-