Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
ScriptOperators.Function |
ScriptOperators.Function.args(List<Object> args)
Set the arguments passed to the function body.
|
ScriptOperators.Function |
ScriptOperators.Function.args(Object... args)
Set the arguments passed to the function body.
|
static ScriptOperators.Function |
ScriptOperators.function(String body)
Create a custom aggregation
$function in JavaScript.
|
static ScriptOperators.Function |
ScriptOperators.Function.function(String body)
Create a new
ScriptOperators.Function with the given function definition. |
ScriptOperators.Function |
ScriptOperators.Function.lang(String lang)
The language used in the body.
|
Modifier and Type | Method and Description |
---|---|
default ScriptOperators.Accumulator.AccumulatorMergeBuilder |
ScriptOperators.Accumulator.AccumulatorAccumulateBuilder.accumulate(ScriptOperators.Function function)
Set the
accumulate ScriptOperators.Function that updates the state for each document. |
default ScriptOperators.Accumulator.AccumulatorAccumulateBuilder |
ScriptOperators.Accumulator.AccumulatorInitBuilder.init(ScriptOperators.Function function)
|
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.