Class ReplaceRootOperation.ReplaceRootDocumentOperation

java.lang.Object
org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperation
All Implemented Interfaces:
AggregationOperation, FieldsExposingAggregationOperation
Enclosing class:
ReplaceRootOperation

public static class ReplaceRootOperation.ReplaceRootDocumentOperation extends ReplaceRootOperation
Encapsulates the aggregation framework $replaceRoot-operation to result in a composable replacement document.
Instances of ReplaceRootOperation.ReplaceRootDocumentOperation yield empty upon construction and can be populated with single values and documents.
Author:
Mark Paluch