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

com.noenv.wiremongo.mapping.remove.RemoveDocumentBase Maven / Gradle / Ivy

There is a newer version: 4.5.10
Show newest version
package com.noenv.wiremongo.mapping.remove;

import com.noenv.wiremongo.command.remove.RemoveDocumentBaseCommand;
import com.noenv.wiremongo.mapping.WithQuery;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.mongo.MongoClientDeleteResult;

public abstract class RemoveDocumentBase> extends WithQuery {

  public RemoveDocumentBase() {
    super("removeDocument");
  }

  public RemoveDocumentBase(String method) {
    super(method);
  }

  public RemoveDocumentBase(JsonObject json) {
    super(json);
  }

  @Override
  protected MongoClientDeleteResult parseResponse(Object jsonValue) {
    return new MongoClientDeleteResult((JsonObject) jsonValue);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy