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

com.noenv.wiremongo.command.aggregate.AggregateWithOptionsCommand Maven / Gradle / Ivy

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

import io.vertx.core.json.JsonArray;
import io.vertx.ext.mongo.AggregateOptions;

@SuppressWarnings("squid:MaximumInheritanceDepth")
public class AggregateWithOptionsCommand extends AggregateBaseCommand {

  private final AggregateOptions options;

  public AggregateWithOptionsCommand(String collection, JsonArray pipeline, AggregateOptions options) {
    super("aggregateWithOptions", collection, pipeline);
    this.options = options;
  }

  public AggregateOptions getOptions() {
    return options;
  }

  @Override
  public String toString() {
    return super.toString() + ", options: " + (options == null ? "null" : options.toJson().encode());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy