Class AttributeValueAggregation
- java.lang.Object
-
- co.mastermindcms.common.extensions.mongodb.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
-
Constructor Summary
Constructors Constructor Description AttributeValueAggregation(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)
-
-
-
Method Detail
-
attributeValue
public static AttributeValueAggregation attributeValue(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
-
-