Uses of Class
org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of SetWindowFieldsOperation.SetWindowFieldsOperationBuilder in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionDefine the target name field name to hold the computation result.SetWindowFieldsOperation.builder()
Obtain abuilder
to create aSetWindowFieldsOperation
.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.output
(SetWindowFieldsOperation.WindowOutput output) Define the actual output computation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.partitionBy
(Object value) Partition by a value that translates to a valid mongodb expression.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.partitionByExpression
(AggregationExpression expression) Specify theexpression
to group by.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.partitionByField
(String fieldName) Specify the field to group by.Sortascending
by the given fields.Set the sort order.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.sortBy
(SortOperation sort) Set theSortOperation
to use.