Module spring.data.mongodb
Class DocumentOperators.DocumentOperatorsFactory
java.lang.Object
org.springframework.data.mongodb.core.aggregation.DocumentOperators.DocumentOperatorsFactory
- Enclosing class:
- DocumentOperators
- Author:
- Christoph Strobl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshift(int by) Creates newAggregationExpressionthat applies the expression to a document at specified position relative to the current document.
-
Constructor Details
-
DocumentOperatorsFactory
-
-
Method Details
-
shift
Creates newAggregationExpressionthat applies the expression to a document at specified position relative to the current document.- Parameters:
by- the value to add to the current position.- Returns:
- new instance of
DocumentOperators.Shift.
-