Uses of Class
com.azure.cosmos.models.PartitionKeyDefinition
Packages that use PartitionKeyDefinition
Package
Description
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of PartitionKeyDefinition in com.azure.cosmos.models
Methods in com.azure.cosmos.models that return PartitionKeyDefinitionModifier and TypeMethodDescriptionCosmosContainerProperties.getPartitionKeyDefinition()Gets the containers's partition key definition.PartitionKeyDefinition.setKind(PartitionKind kind) Sets the partition algorithm used to calculate the partition id given a partition key.Sets the item property paths for the partition key.PartitionKeyDefinition.setVersion(PartitionKeyDefinitionVersion version) Sets version.Methods in com.azure.cosmos.models with parameters of type PartitionKeyDefinitionModifier and TypeMethodDescriptionstatic PartitionKeyPartitionKey.fromItem(Map<String, Object> item, PartitionKeyDefinition partitionKeyDefinition) Returns the PartitionKey extracted from the itemCosmosContainerProperties.setPartitionKeyDefinition(PartitionKeyDefinition partitionKeyDefinition) Sets the containers's partition key definition.Constructors in com.azure.cosmos.models with parameters of type PartitionKeyDefinitionModifierConstructorDescriptionCosmosContainerProperties(String id, PartitionKeyDefinition partitionKeyDefinition) Constructor