Uses of Class
org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
Packages that use ReplaceRootOperation
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ReplaceRootOperation in org.springframework.data.mongodb.core.aggregation
Subclasses of ReplaceRootOperation in org.springframework.data.mongodb.core.aggregationModifier and TypeClassDescriptionstatic classEncapsulates the aggregation framework$replaceRoot-operation to result in a composable replacement document.classEncapsulates the aggregation framework$replaceRoot-operation.Methods in org.springframework.data.mongodb.core.aggregation that return ReplaceRootOperationModifier and TypeMethodDescriptionstatic ReplaceRootOperationAggregation.replaceRoot(String fieldName) Factory method to create a newReplaceRootOperationfor the field with the given name.static ReplaceRootOperationAggregation.replaceRoot(AggregationExpression aggregationExpression) Factory method to create a newReplaceRootOperationfor the field with the givenAggregationExpression.ReplaceRootOperation.ReplaceRootOperationBuilder.withDocument(org.bson.Document document) Defines a root document replacement based on a composable document given document.ReplaceRootOperation.ReplaceRootOperationBuilder.withValueOf(String fieldName) Defines a root document replacement based on a fieldName that resolves to a document.ReplaceRootOperation.ReplaceRootOperationBuilder.withValueOf(AggregationExpression aggregationExpression) Defines a root document replacement based on aAggregationExpressionthat resolves to a document.