| Modifier and Type | Method and Description |
|---|---|
MongoIndexOptions |
MongoIndex.options()
Get cosmos DB MongoDB collection index key options.
|
MongoIndexOptions |
MongoIndexOptions.withExpireAfterSeconds(Integer expireAfterSeconds)
Set expire after seconds.
|
MongoIndexOptions |
MongoIndexOptions.withUnique(Boolean unique)
Set is unique or not.
|
| Modifier and Type | Method and Description |
|---|---|
MongoIndex |
MongoIndex.withOptions(MongoIndexOptions options)
Set cosmos DB MongoDB collection index key options.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/