public static io.vertx.ext.mongo.MongoService findOneAndReplaceWithOptions(io.vertx.ext.mongo.MongoService j_receiver, java.lang.String collection, java.util.Map<String, Object> query, java.util.Map<String, Object> update, java.util.Map<String, Object> findOptions, java.util.Map<String, Object> updateOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<String, Object>>> resultHandler) {
io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.findOneAndReplaceWithOptions(collection,
query != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(query) : null,
update != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(update) : null,
findOptions != null ? new io.vertx.ext.mongo.FindOptions(io.vertx.core.impl.ConversionHelper.toJsonObject(findOptions)) : null,
updateOptions != null ? new io.vertx.ext.mongo.UpdateOptions(io.vertx.core.impl.ConversionHelper.toJsonObject(updateOptions)) : null,
resultHandler != null ? new io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>>() {
public void handle(io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject> ar) {
resultHandler.handle(ar.map(event -> io.vertx.core.impl.ConversionHelper.fromJsonObject(event)));
}
} : null));
return j_receiver;
}
public static io.vertx.ext.mongo.MongoService findOneAndDelete(io.vertx.ext.mongo.MongoService j_receiver, java.lang.String collection, java.util.Map<String, Object> query, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<String, Object>>> resultHandler) {