Java com.mongodb.client.model Aggregates fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb.client.model Aggregates fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb.client.model Aggregates.

The text is from its open source code.

Method

Bsongroup(@Nullable final TExpression id, final BsonField... fieldAccumulators)
Creates a $group pipeline stage for the specified filter
Bsongroup(@Nullable final TExpression id, final List fieldAccumulators)
Creates a $group pipeline stage for the specified filter
Bsonlimit(final int limit)
Creates a $limit pipeline stage for the specified filter
Bsonlookup(final String from, final String localField, final String foreignField, final String as)
Creates a $lookup pipeline stage, joining the current collection with the one specified in from using equality match between the local field and the foreign field
Bsonlookup(final String from, @Nullable final List> let, final List pipeline, final String as)
Creates a $lookup pipeline stage, joining the current collection with the one specified in from using the given pipeline
Bsonmatch(final Bson filter)
Creates a $match pipeline stage for the specified filter
Bsonproject(final Bson projection)
Creates a $project pipeline stage for the specified projection
Bsonskip(final int skip)
Creates a $skip pipeline stage
Bsonsort(final Bson sort)
Creates a $sort pipeline stage for the specified sort specification
Bsonunwind(final String fieldName)
Creates a $unwind pipeline stage for the specified field name, which must be prefixed by a '$' sign.