Module spring.data.mongodb
Interface SetWindowFieldsOperation.Window
- All Known Implementing Classes:
SetWindowFieldsOperation.DocumentWindow,SetWindowFieldsOperation.RangeWindow
- Enclosing class:
- SetWindowFieldsOperation
public static interface SetWindowFieldsOperation.Window
A
SetWindowFieldsOperation.Window to be used for ComputedField.-
Method Summary
Modifier and TypeMethodDescriptiongetLower()The lower (inclusive) boundary.getUpper()The upper (inclusive) boundary.default org.bson.DocumentObtain the document representation of the window in a defaultcontext.org.bson.DocumentObtain the document representation of the window in the givencontext.
-
Method Details
-
getLower
Object getLower()The lower (inclusive) boundary.- Returns:
-
getUpper
Object getUpper()The upper (inclusive) boundary.- Returns:
-
toDocument
default org.bson.Document toDocument()Obtain the document representation of the window in a defaultcontext.- Returns:
- never null.
-
toDocument
Obtain the document representation of the window in the givencontext.- Returns:
- never null.
-