Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Class and Description |
---|---|
static class |
ReplaceRootOperation.ReplaceRootDocumentOperation
Encapsulates the aggregation framework
$replaceRoot -operation to result in a composable replacement
document. |
class |
ReplaceWithOperation
Encapsulates the aggregation framework
$replaceRoot -operation. |
Modifier and Type | Method and Description |
---|---|
static ReplaceRootOperation |
Aggregation.replaceRoot(AggregationExpression aggregationExpression)
Factory method to create a new
ReplaceRootOperation for the field with the given
AggregationExpression . |
static ReplaceRootOperation |
Aggregation.replaceRoot(String fieldName)
Factory method to create a new
ReplaceRootOperation for the field with the given name. |
ReplaceRootOperation |
ReplaceRootOperation.ReplaceRootOperationBuilder.withDocument(org.bson.Document document)
Defines a root document replacement based on a composable document given document.
|
ReplaceRootOperation |
ReplaceRootOperation.ReplaceRootOperationBuilder.withValueOf(AggregationExpression aggregationExpression)
Defines a root document replacement based on a
AggregationExpression that resolves to a document. |
ReplaceRootOperation |
ReplaceRootOperation.ReplaceRootOperationBuilder.withValueOf(String fieldName)
Defines a root document replacement based on a fieldName that resolves to a document.
|
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.