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

com.noenv.wiremongo.command.replace.WithReplaceCommand Maven / Gradle / Ivy

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

import com.noenv.wiremongo.command.WithQueryCommand;
import io.vertx.core.json.JsonObject;

public abstract class WithReplaceCommand extends WithQueryCommand {

  private final JsonObject replace;

  public WithReplaceCommand(String method, String collection, JsonObject query, JsonObject replace) {
    super(method, collection, query);
    this.replace = replace;
  }

  public JsonObject getReplace() {
    return replace;
  }

  @Override
  public String toString() {
    return super.toString() + ", replace: " + replace;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy