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

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

Introduction

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

The text is from its open source code.

Method

BsonFieldaddToSet(final String fieldName, final TExpression expression)
Gets a field name for a $group operation representing all unique values that results from applying the given expression to each document in a group of documents that share the same group by key.
BsonFieldavg(final String fieldName, final TExpression expression)
Gets a field name for a $group operation representing the average of the values of the given expression when applied to all members of the group.
BsonFieldmax(final String fieldName, final TExpression expression)
Gets a field name for a $group operation representing the maximum of the values of the given expression when applied to all members of the group.
BsonFieldmin(final String fieldName, final TExpression expression)
Gets a field name for a $group operation representing the minimum of the values of the given expression when applied to all members of the group.
BsonFieldsum(final String fieldName, final TExpression expression)
Gets a field name for a $group operation representing the sum of the values of the given expression when applied to all members of the group.