| 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 |
|---|---|
PartitionKeyDefinition |
CosmosContainerProperties.getPartitionKeyDefinition()
Gets the containers's partition key definition.
|
PartitionKeyDefinition |
PartitionKeyDefinition.setKind(PartitionKind kind)
Sets the partition algorithm used to calculate the partition id given a partition key.
|
PartitionKeyDefinition |
PartitionKeyDefinition.setPaths(List<String> paths)
Sets the item property paths for the partition key.
|
PartitionKeyDefinition |
PartitionKeyDefinition.setVersion(PartitionKeyDefinitionVersion version)
Sets version.
|
| Modifier and Type | Method and Description |
|---|---|
CosmosContainerProperties |
CosmosContainerProperties.setPartitionKeyDefinition(PartitionKeyDefinition partitionKeyDefinition)
Sets the containers's partition key definition.
|
| Constructor and Description |
|---|
CosmosContainerProperties(String id,
PartitionKeyDefinition partitionKeyDefinition)
Constructor
|
Copyright © 2020 Microsoft Corporation. All rights reserved.