com.noenv.wiremongo.mapping.update.UpdateCollectionBase Maven / Gradle / Ivy
package com.noenv.wiremongo.mapping.update;
import com.noenv.wiremongo.command.update.UpdateCollectionBaseCommand;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.mongo.MongoClientUpdateResult;
@SuppressWarnings("squid:MaximumInheritanceDepth")
public abstract class UpdateCollectionBase> extends WithUpdate {
public UpdateCollectionBase() {
this("updateCollection");
}
public UpdateCollectionBase(String method) {
super(method);
}
public UpdateCollectionBase(JsonObject json) {
super(json);
}
@Override
protected MongoClientUpdateResult parseResponse(Object jsonValue) {
return new MongoClientUpdateResult((JsonObject) jsonValue);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy