com.noenv.wiremongo.mapping.remove.RemoveDocumentBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-wiremongo Show documentation
Show all versions of vertx-wiremongo Show documentation
Lightweight mongo mocking for Vert.x
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);
}
}