Skip to content

Commit c04fe74

Browse files
Update AggregationExpression javadoc.
See: #4370
1 parent a16558e commit c04fe74

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/AggregationExpression.java

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
/**
2222
* An {@link AggregationExpression} can be used with field expressions in aggregation pipeline stages like
2323
* {@code project} and {@code group}.
24+
* <p>
25+
* The {@link AggregationExpression expressions} {@link #toDocument(AggregationOperationContext)} method is called during
26+
* the mapping process to obtain the mapped, ready to use representation that can be handed over to the driver as part
27+
* of an {@link AggregationOperation pipleine stage}.
2428
*
2529
* @author Thomas Darimont
2630
* @author Oliver Gierke

0 commit comments

Comments
 (0)