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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets the collationReturns the collation options
- 
Constructor Details- 
DBCreateViewOptionspublic DBCreateViewOptions()
 
- 
- 
Method Details- 
getCollationReturns the collation options- Returns:
- the collation options
 
- 
collationSets the collation- Parameters:
- collation- the collation
- Returns:
- this
 
 
-