Package com.mongodb.client.model
Class CreateViewOptions
java.lang.Object
com.mongodb.client.model.CreateViewOptions
Options for creating a view
- Since:
- 3.4
- MongoDB documentation
- 3.4
-
Constructor Summary
ConstructorsConstructorDescriptionMethod Summary
Modifier and TypeMethodDescriptionSets the collation optionsReturns the collation optionstoString()-
Constructor Details
-
CreateViewOptions
public CreateViewOptions()
-
-
Method Details
-
getCollation
Returns the collation options- Returns:
- the collation options
-
collation
Sets the collation optionsA null value represents the server default.
- Parameters:
collation- the collation options to use- Returns:
- this
-
toString
- Overrides:
Object
-