static Accumulator |
Accumulator.accumulator(java.lang.String operation,
java.lang.Object field) |
Defines an accumulator for use in an aggregation pipeline.
|
static Accumulator |
Accumulator.accumulator(java.lang.String operation,
java.lang.String field) |
Defines an accumulator for use in an aggregation pipeline.
|
static Accumulator |
Group.addToSet(java.lang.String field) |
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share
the same group by key.
|
static Accumulator |
Group.average(java.lang.String field) |
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of
documents that share the same group by key.
|
static Accumulator |
Group.first(java.lang.String field) |
Returns the value that results from applying an expression to the first document in a group of documents that share the same group
by
key.
|
Accumulator |
Group.getAccumulator() |
|
static Accumulator |
Group.last(java.lang.String field) |
Returns the value that results from applying an expression to the last document in a group of documents that share the same group by
a field.
|
static Accumulator |
Group.max(java.lang.String field) |
Returns the highest value that results from applying an expression to each document in a group of documents that share the same
group
by key.
|
static Accumulator |
Group.min(java.lang.String field) |
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group
by key.
|
static Accumulator |
Group.push(java.lang.String field) |
Returns an array of all values that result from applying an expression to each document in a group of documents that share the same
group by key.
|
static Accumulator |
Group.sum(java.lang.String field) |
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a
group
of documents that share the same group by key.
|