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 document property paths for the partition key.
|
PartitionKeyDefinition |
PartitionKeyDefinition.setVersion(PartitionKeyDefinitionVersion 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.