DATAMONGO-1326 - Support field inheritance for $lookup aggregation operator.

We now distinguish between aggregation operations that replace fields in the aggregation pipeline and those which inherit fields from previous operations. InheritsFieldsAggregationOperation is a nested interface of FieldsExposingAggregationOperation is a marker to lookup fields along the aggregation context chain. Added unit and integration tests. Mention lookup operator in docs.

Original pull request: #344.
This commit is contained in:
Mark Paluch
2016-03-04 12:21:54 +01:00
committed by Christoph Strobl
parent 65b6576cfc
commit 9a078b743f
9 changed files with 353 additions and 21 deletions

View File

@@ -1634,6 +1634,7 @@ The MongoDB Aggregation Framework provides the following types of Aggregation Op
* String Aggregation Operators
* Date Aggregation Operators
* Conditional Aggregation Operators
* Lookup Aggregation Operators
At the time of this writing we provide support for the following Aggregation Operations in Spring Data MongoDB.