public static io.vertx.ext.mongo.MongoService insertWithOptions(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.insertWithOptions(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 update(io.vertx.ext.mongo.MongoService j_receiver, java.lang.String collection, java.util.Map<String, Object> query, java.util.Map<String, Object> update, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> resultHandler) {