Class EmbeddedBeanAggregation
- java.lang.Object
-
- co.mastermindcms.common.extensions.mongodb.EmbeddedBeanAggregation
-
- All Implemented Interfaces:
org.springframework.data.mongodb.core.aggregation.AggregationExpression
,org.springframework.data.mongodb.MongoExpression
public class EmbeddedBeanAggregation extends java.lang.Object implements org.springframework.data.mongodb.core.aggregation.AggregationExpression
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
fieldReference
-
Constructor Summary
Constructors Constructor Description EmbeddedBeanAggregation(java.lang.String fieldReference)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmbeddedBeanAggregation
embeddedBean(java.lang.String fieldReference)
org.bson.Document
toDocument(org.springframework.data.mongodb.core.aggregation.AggregationOperationContext context)
-
-
-
Method Detail
-
embeddedBean
public static EmbeddedBeanAggregation embeddedBean(java.lang.String fieldReference)
-
toDocument
@NotNull public org.bson.Document toDocument(org.springframework.data.mongodb.core.aggregation.AggregationOperationContext context)
- Specified by:
toDocument
in interfaceorg.springframework.data.mongodb.core.aggregation.AggregationExpression
-
-