vertx/src/main/java/eu/internetofus/common/vertx/AggregationBuilder.java
/**
   * Specify the query that has to match the documents.
   *
   * @param query that has to match the documents.
   *
   * @return this builder.
   */
Specify the query that has to match the documents.
@param query that has to match the documents.

@return this builder.
Specify the query that has to match the documents . @param query that has to match the documents . @return this builder .
public AggregationBuilder match(JsonObject query) {
    if (query != null && !query.isEmpty()) {
      this.pipeline.add(new JsonObject().put("$match", query));
    }
    return this;
  }
public AggregationBuilder match ( JsonObject query ) { if ( query != null && ! query . isEmpty ( ) ) { this . pipeline . add ( new JsonObject ( ) . put ( "$match" , query ) ) ; } return this ; }
Specify the query that has to match the documents.
Specify the query that has to match the documents .