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

com.noenv.wiremongo.mapping.Count Maven / Gradle / Ivy

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

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

public class Count extends WithQuery {

  public Count() {
    super("count");
  }

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

  @Override
  protected Long parseResponse(Object jsonValue) {
    return ((Number) jsonValue).longValue();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy