Package mongoval.functions
Class UpdateMany<O>
- java.lang.Object
-
- mongoval.functions.UpdateMany<O>
-
- All Implemented Interfaces:
Function<UpdateMessage,O>
public class UpdateMany<O> extends Object implements Function<UpdateMessage,O>
-
-
Constructor Summary
Constructors Constructor Description UpdateMany(com.mongodb.client.model.UpdateOptions options, Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.UpdateResult,O> resultConverter, com.mongodb.client.ClientSession session)
UpdateMany(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.UpdateResult,O> resultConverter)
UpdateMany(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.UpdateResult,O> resultConverter, com.mongodb.client.model.UpdateOptions options)
-
-
-
Constructor Detail
-
UpdateMany
public UpdateMany(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.UpdateResult,O> resultConverter)
-
UpdateMany
public UpdateMany(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Function<com.mongodb.client.result.UpdateResult,O> resultConverter, com.mongodb.client.model.UpdateOptions options)
-
-
Method Detail
-
apply
public O apply(UpdateMessage message)
- Specified by:
apply
in interfaceFunction<UpdateMessage,O>
-
-