Partition Resolver<T> 类
RangePartitionResolver implements partitioning based on the ranges in the Azure Cosmos DB database service. It allows you to distribute requests and data across a number of partitions by implementing PartitionResolver interface.
public class RangePartitionResolver<T extends Comparable<T>> implements PartitionResolver
|RangePartitionResolver(PartitionKeyExtractor partitionKeyExtractor, Map<Range<T>, String> partitionMap)||
RangePartitionResolver constructor taking in the PartitionKeyExtractor, a map of Ranges to collection links.
Resolves the collection for creating the document based on the partition key.
Resolves the collection for reading/querying the documents based on the partition key.