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

com.noenv.wiremongo.command.stream.WithStreamQueryCommand Maven / Gradle / Ivy

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

import io.vertx.core.json.JsonObject;

public abstract class WithStreamQueryCommand extends WithStreamCommand {

  private final JsonObject query;

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

  public JsonObject getQuery() {
    return query;
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy