Package io.vertx.mongo.client.model
Class IndexModel
- java.lang.Object
 - 
- io.vertx.mongo.client.model.IndexModel
 
 
- 
public class IndexModel extends java.lang.Object 
- 
- 
Constructor Summary
Constructors Constructor Description IndexModel(JsonObject keys)Construct an instance with the given keys.IndexModel(JsonObject keys, IndexOptions options)Construct an instance with the given keys and options. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonObjectgetKeys()Gets the index keys.IndexOptionsgetOptions()Gets the index options. 
 - 
 
- 
- 
Constructor Detail
- 
IndexModel
public IndexModel(JsonObject keys)
Construct an instance with the given keys.- Parameters:
 keys- the index keys
 
- 
IndexModel
public IndexModel(JsonObject keys, IndexOptions options)
Construct an instance with the given keys and options.- Parameters:
 keys- the index keysoptions- the index options
 
 - 
 
- 
Method Detail
- 
getKeys
public JsonObject getKeys()
Gets the index keys.- Returns:
 - the index keys
 
 
- 
getOptions
public IndexOptions getOptions()
Gets the index options.- Returns:
 - the index options
 
 
 - 
 
 -