public static io.vertx.ext.mongo.MongoService saveWithOptions(io.vertx.ext.mongo.MongoService j_receiver, java.lang.String collection, java.util.Map<String, Object> document, io.vertx.ext.mongo.WriteOption writeOption, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>> resultHandler) {
io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.saveWithOptions(collection,
document != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(document) : null,
writeOption,
resultHandler != null ? new io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>>() {
public void handle(io.vertx.core.AsyncResult<java.lang.String> ar) {
resultHandler.handle(ar.map(event -> event));
}
} : null));
return j_receiver;
}
public static io.vertx.ext.mongo.MongoService insert(io.vertx.ext.mongo.MongoService j_receiver, java.lang.String collection, java.util.Map<String, Object> document, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>> resultHandler) {