Class SetWindowFieldsOperation.WindowOutput
java.lang.Object
org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput
- Enclosing class:
- SetWindowFieldsOperation
SetWindowFieldsOperation.WindowOutput
defines output of $setWindowFields stage by defining the field(s)
to append to the documents in the output.-
Constructor Summary
ConstructorDescriptionWindowOutput
(SetWindowFieldsOperation.ComputedField outputField) Create a new output containing the single givenfield
. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput.ComputedFieldAppender
append
(AggregationExpression expression) Append the givenAggregationExpression
as afield
in a fluent way.Append the givenfield
to the outptut.
-
Constructor Details
-
WindowOutput
Create a new output containing the single givenfield
.- Parameters:
outputField
- must not be null.
-
-
Method Details
-
append
Append the givenfield
to the outptut.- Parameters:
field
- must not be null.- Returns:
- this.
-
append
public org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput.ComputedFieldAppender append(AggregationExpression expression) Append the givenAggregationExpression
as afield
in a fluent way.- Parameters:
expression
- must not be null.- Returns:
- new instance of
SetWindowFieldsOperation.WindowOutput.ComputedFieldAppender
. - See Also:
-