| Modifier and Type | Method and Description |
|---|---|
PartitionKeyDefinition |
PartitionKeyDefinition.kind(PartitionKind kind)
Sets the partition algorithm used to calculate the partition id given a partition key.
|
PartitionKeyDefinition |
CosmosContainerProperties.partitionKeyDefinition()
Gets the containers's partition key definition.
|
PartitionKeyDefinition |
PartitionKeyDefinition.paths(List<String> paths)
Sets the document property paths for the partition key.
|
PartitionKeyDefinition |
PartitionKeyDefinition.version(PartitionKeyDefinitionVersion version) |
| Modifier and Type | Method and Description |
|---|---|
CosmosContainerProperties |
CosmosContainerProperties.partitionKeyDefinition(PartitionKeyDefinition partitionKeyDefinition)
Sets the containers's partition key definition.
|
| Constructor and Description |
|---|
CosmosContainerProperties(String id,
PartitionKeyDefinition partitionKeyDefinition)
Constructor
|
Copyright © 2019. All rights reserved.