public static io.vertx.ext.mongo.MongoService bulkWriteWithOptions(io.vertx.ext.mongo.MongoService j_receiver, java.lang.String collection, java.util.List<java.util.Map<String, Object>> operations, java.util.Map<String, Object> bulkWriteOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<String, Object>>> resultHandler) {
io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.bulkWriteWithOptions(collection,
operations != null ? operations.stream().map(elt -> elt != null ? new io.vertx.ext.mongo.BulkOperation(io.vertx.core.impl.ConversionHelper.toJsonObject(elt)) : null).collect(java.util.stream.Collectors.toList()) : null,
bulkWriteOptions != null ? new io.vertx.ext.mongo.BulkWriteOptions(io.vertx.core.impl.ConversionHelper.toJsonObject(bulkWriteOptions)) : null,
resultHandler != null ? new io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientBulkWriteResult>>() {
public void handle(io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClientBulkWriteResult> ar) {
resultHandler.handle(ar.map(event -> event != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(event.toJson()) : null));
}
} : null));
return j_receiver;
}
public static io.vertx.ext.mongo.MongoService find(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.List<java.util.Map<String, Object>>>> resultHandler) {