Package io.vertx.mongo.client.model
Class CreateViewOptions
- java.lang.Object
-
- io.vertx.mongo.client.model.CreateViewOptions
-
public class CreateViewOptions extends java.lang.Object
Options for creating a view- Since:
- 3.4
- Since server release
- 3.4
- MongoDB documentation
- Create Command
-
-
Constructor Summary
Constructors Constructor Description CreateViewOptions()
CreateViewOptions(JsonObject json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collation
getCollation()
Returns the collation optionsCreateViewOptions
setCollation(Collation collation)
Sets the collation optionsJsonObject
toJson()
-
-
-
Constructor Detail
-
CreateViewOptions
public CreateViewOptions()
-
CreateViewOptions
public CreateViewOptions(JsonObject json)
-
-
Method Detail
-
toJson
public JsonObject toJson()
-
setCollation
public CreateViewOptions setCollation(Collation collation)
Sets the collation optionsA null value represents the server default.
- Parameters:
collation
- the collation options to use- Returns:
- this
-
getCollation
public Collation getCollation()
Returns the collation options- Returns:
- the collation options
-
-