java.lang.Object
org.springframework.data.mongodb.core.ViewOptions
Immutable object holding additional options to be applied when creating a MongoDB
views.
- Since:
- 4.0
- Author:
- Christoph Strobl
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ViewOptions
public ViewOptions()Creates new instance ofViewOptions.
-
-
Method Details
-
getCollation
Get theCollationto be set.- Returns:
Optional.empty()if not set.
-
collation
- Parameters:
collation- theCollationto use for language-specific string comparison.- Returns:
- new instance of
ViewOptions.
-