Class ViewOptions
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
-
Method Summary
-
Constructor Details
-
ViewOptions
public ViewOptions()Creates new instance ofViewOptions
.
-
-
Method Details
-
getCollation
Get theCollation
to be set.- Returns:
Optional.empty()
if not set.
-
collation
- Parameters:
collation
- theCollation
to use for language-specific string comparison.- Returns:
- new instance of
ViewOptions
.
-