Uses of Class
org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
Packages that use DocumentOperators.Shift
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of DocumentOperators.Shift in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return DocumentOperators.ShiftModifier 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 theexpressionto evaluate if the target document is out of range.DocumentOperators.DocumentOperatorsFactory.shift(int by) Creates newAggregationExpressionthat applies the expression to a document at specified position relative to the current document.static DocumentOperators.ShiftSpecifies the field to evaluate and return.static DocumentOperators.ShiftDocumentOperators.Shift.shift(AggregationExpression expression) Specifies theexpressionto evaluate and return.