All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.noenv.wiremongo.command.bulkwrite.BulkWriteWithOptionsCommand Maven / Gradle / Ivy

There is a newer version: 4.5.10
Show newest version
package com.noenv.wiremongo.command.bulkwrite;

import io.vertx.ext.mongo.BulkOperation;
import io.vertx.ext.mongo.BulkWriteOptions;

import java.util.List;

public class BulkWriteWithOptionsCommand extends BulkWriteBaseCommand {

  private final BulkWriteOptions options;

  public BulkWriteWithOptionsCommand(String collection, List operations, BulkWriteOptions options) {
    super("bulkWriteWithOptions", collection, operations);
    this.options = options;
  }

  public BulkWriteOptions getOptions() {
    return options;
  }

  @Override
  public String toString() {
    return super.toString() + ", options: " + (options != null ? options.toJson().encode() : "null");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy