public static io.vertx.ext.mongo.MongoService replaceWithOptions(io.vertx.ext.mongo.MongoService j_receiver, java.lang.String collection, java.util.Map<String, Object> query, java.util.Map<String, Object> replace, java.util.Map<String, Object> options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> resultHandler) {
io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.replaceWithOptions(collection,
query != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(query) : null,
replace != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(replace) : null,
options != null ? new io.vertx.ext.mongo.UpdateOptions(io.vertx.core.impl.ConversionHelper.toJsonObject(options)) : null,
resultHandler != null ? new io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>() {
public void handle(io.vertx.core.AsyncResult<java.lang.Void> ar) {
resultHandler.handle(ar.map(event -> io.vertx.core.impl.ConversionHelper.fromObject(event)));
}
} : null));
return j_receiver;
}
public static io.vertx.ext.mongo.MongoService replaceDocumentsWithOptions(io.vertx.ext.mongo.MongoService j_receiver, java.lang.String collection, java.util.Map<String, Object> query, java.util.Map<String, Object> replace, java.util.Map<String, Object> options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<String, Object>>> resultHandler) {