Class AttributeValueAggregation

  • All Implemented Interfaces:
    org.springframework.data.mongodb.core.aggregation.AggregationExpression, org.springframework.data.mongodb.MongoExpression

    public class AttributeValueAggregation
    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  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static AttributeValueAggregation attributeValue​(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

      • AttributeValueAggregation

        public AttributeValueAggregation​(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