| Modifier and Type | Method and Description |
|---|---|
MongoIndex |
MongoIndex.withKey(MongoIndexKeys key)
Set cosmos DB MongoDB collection index keys.
|
MongoIndex |
MongoIndex.withOptions(MongoIndexOptions options)
Set cosmos DB MongoDB collection index key options.
|
| Modifier and Type | Method and Description |
|---|---|
List<MongoIndex> |
MongoDBCollectionResource.indexes()
Get list of index keys.
|
| Modifier and Type | Method and Description |
|---|---|
MongoDBCollectionResource |
MongoDBCollectionResource.withIndexes(List<MongoIndex> indexes)
Set list of index keys.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/