public static class SetWindowFieldsOperation.WindowOutput extends Object
SetWindowFieldsOperation.WindowOutput defines output of $setWindowFields stage by defining the field(s) to append to the documents in the output.| Constructor and Description |
|---|
WindowOutput(SetWindowFieldsOperation.ComputedField outputField)
Create a new output containing the single given
field. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput.ComputedFieldAppender |
append(AggregationExpression expression)
Append the given
AggregationExpression as a field in a fluent way. |
SetWindowFieldsOperation.WindowOutput |
append(SetWindowFieldsOperation.ComputedField field)
Append the given
field to the outptut. |
public WindowOutput(SetWindowFieldsOperation.ComputedField outputField)
field.outputField - must not be null.public SetWindowFieldsOperation.WindowOutput append(SetWindowFieldsOperation.ComputedField field)
field to the outptut.field - must not be null.public org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput.ComputedFieldAppender append(AggregationExpression expression)
AggregationExpression as a field in a fluent way.expression - must not be null.ComputedFieldAppender.#append(ComputedField)Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.