Class MongoAggregation

java.lang.Object
io.micronaut.data.mongodb.operations.MongoAggregation

public final class MongoAggregation extends Object
The MongoDB's aggregation command.
Since:
3.3.0
Author:
Denis Stepanov
  • Constructor Details

    • MongoAggregation

      public MongoAggregation(@NonNull @NonNull List<org.bson.conversions.Bson> pipeline, @Nullable @Nullable MongoAggregationOptions options)
      The default constructor.
      Parameters:
      pipeline - The pipeline
      options - The options
  • Method Details

    • getPipeline

      @NonNull public @NonNull List<org.bson.conversions.Bson> getPipeline()
    • getOptions

      @Nullable public @Nullable MongoAggregationOptions getOptions()