public class MongoIndex extends Object
Constructor and Description |
---|
MongoIndex() |
Modifier and Type | Method and Description |
---|---|
MongoIndexKeys |
key()
Get cosmos DB MongoDB collection index keys.
|
MongoIndexOptions |
options()
Get cosmos DB MongoDB collection index key options.
|
MongoIndex |
withKey(MongoIndexKeys key)
Set cosmos DB MongoDB collection index keys.
|
MongoIndex |
withOptions(MongoIndexOptions options)
Set cosmos DB MongoDB collection index key options.
|
public MongoIndexKeys key()
public MongoIndex withKey(MongoIndexKeys key)
key
- the key value to setpublic MongoIndexOptions options()
public MongoIndex withOptions(MongoIndexOptions options)
options
- the options value to setCopyright © 2019. All rights reserved.