Package | Description |
---|---|
com.azure.cosmos.models |
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
|
Modifier and Type | Method and Description |
---|---|
IndexingPolicy |
CosmosContainerProperties.getIndexingPolicy()
Gets the container's indexing policy.
|
IndexingPolicy |
IndexingPolicy.setAutomatic(boolean automatic)
Sets whether automatic indexing is enabled for a container.
|
IndexingPolicy |
IndexingPolicy.setCompositeIndexes(List<List<CompositePath>> compositeIndexes)
Sets the composite indexes for additional indexes.
|
IndexingPolicy |
IndexingPolicy.setExcludedPaths(List<ExcludedPath> excludedPaths)
Sets excluded paths.
|
IndexingPolicy |
IndexingPolicy.setIncludedPaths(List<IncludedPath> includedPaths)
Sets included paths.
|
IndexingPolicy |
IndexingPolicy.setIndexingMode(IndexingMode indexingMode)
Sets the indexing mode (consistent or lazy).
|
IndexingPolicy |
IndexingPolicy.setSpatialIndexes(List<SpatialSpec> spatialIndexes)
Sets the spatial indexes for additional indexes.
|
Modifier and Type | Method and Description |
---|---|
CosmosContainerProperties |
CosmosContainerProperties.setIndexingPolicy(IndexingPolicy indexingPolicy)
Sets the container's indexing policy
|
Copyright © 2021 Microsoft Corporation. All rights reserved.