Uses of Class
org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DocumentOperators.Shift in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionDocumentOperators.Shift.by
(int shiftBy) Shift the document position relative to the current.Define the default value if the target document is out of range.DocumentOperators.Shift.defaultToValueOf
(AggregationExpression expression) Define theexpression
to evaluate if the target document is out of range.DocumentOperators.DocumentOperatorsFactory.shift
(int by) Creates newAggregationExpression
that applies the expression to a document at specified position relative to the current document.static DocumentOperators.Shift
Specifies the field to evaluate and return.static DocumentOperators.Shift
DocumentOperators.Shift.shift
(AggregationExpression expression) Specifies theexpression
to evaluate and return.