Module spring.data.mongodb
Class SetWindowFieldsOperation.RangeWindow
java.lang.Object
org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindow
- All Implemented Interfaces:
SetWindowFieldsOperation.Window
- Enclosing class:
- SetWindowFieldsOperation
SetWindowFieldsOperation.Window implementation based on the sort fields.- Author:
- Christoph Strobl
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRangeWindow(Object lower, Object upper, SetWindowFieldsOperation.WindowUnit unit) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.Window
toDocument
-
Constructor Details
-
RangeWindow
-
-
Method Details
-
toDocument
Description copied from interface:SetWindowFieldsOperation.WindowObtain the document representation of the window in the givencontext.- Returns:
- never null.
-
getLower
Description copied from interface:SetWindowFieldsOperation.WindowThe lower (inclusive) boundary.- Specified by:
getLowerin interfaceSetWindowFieldsOperation.Window- Returns:
-
getUpper
Description copied from interface:SetWindowFieldsOperation.WindowThe upper (inclusive) boundary.- Specified by:
getUpperin interfaceSetWindowFieldsOperation.Window- Returns:
-