Class IndexModel
java.lang.Object
io.vertx.ext.mongo.IndexModel
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorIndexModel(JsonObject json) Json constructorIndexModel(JsonObject key, IndexOptions options) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()Get the index keyGet the index optionsinthashCode()setKey(JsonObject key) Sets the index keysetOptions(IndexOptions options) Sets the index optionstoJson()Convert to JSONtoString()
-
Constructor Details
-
IndexModel
public IndexModel()Default constructor -
IndexModel
-
IndexModel
-
-
Method Details
-
getKey
-
setKey
Sets the index key- Parameters:
key- - the index keys- Returns:
- this for fluency
-
getOptions
-
setOptions
Sets the index options- Parameters:
options- - the index options- Returns:
- this for fluency
-
toJson
-
toString
-
equals
-
hashCode
-