Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.data.mongodb.core.aggregation.AggregationExpression

        toDocument
    • Field Detail

      • fieldReference

        private final java.lang.String fieldReference
    • Constructor Detail

      • EmbeddedBeanAggregation

        public EmbeddedBeanAggregation​(java.lang.String fieldReference)
    • Method Detail

      • toDocument

        @NotNull
        public org.bson.Document toDocument​(org.springframework.data.mongodb.core.aggregation.AggregationOperationContext context)
        Specified by:
        toDocument in interface org.springframework.data.mongodb.core.aggregation.AggregationExpression