Class DocumentOperators.DocumentNumber
java.lang.Object
org.springframework.data.mongodb.core.aggregation.DocumentOperators.DocumentNumber
- All Implemented Interfaces:
AggregationExpression, MongoExpression
- Enclosing class:
DocumentOperators
public static class DocumentOperators.DocumentNumber
extends Object
implements AggregationExpression
DocumentOperators.DocumentNumber resolves the current document position.- Since:
- 3.3
- Author:
- Christoph Strobl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bson.DocumenttoDocument(AggregationOperationContext context) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AggregationExpression
toDocument
-
Constructor Details
-
DocumentNumber
public DocumentNumber()
-
-
Method Details
-
toDocument
Description copied from interface:AggregationExpression- Specified by:
toDocumentin interfaceAggregationExpression- Parameters:
context- must not be null.- Returns:
- the MongoDB native (
Document) form of the expression.
-