Package com.mongodb.client.model
Class DBCreateViewOptions
java.lang.Object
com.mongodb.client.model.DBCreateViewOptions
The options to apply when creating a view
- Since:
- 3.4
- MongoDB documentation
- Create Command
- Since server release
- 3.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the collationReturns the collation options
-
Constructor Details
-
DBCreateViewOptions
public DBCreateViewOptions()
-
-
Method Details
-
getCollation
Returns the collation options- Returns:
- the collation options
-
collation
Sets the collation- Parameters:
collation
- the collation- Returns:
- this
-