PartitionResolver 接口
定义
This is an interface to be implemented for partitioning scenarios and register it at the document client level in the Azure Cosmos DB database service.
public interface PartitionResolver
方法
resolveForCreate(Object document) |
Gets the collection Self Link or ID based link on which create operation should be directed
|
resolveForRead(Object partitionKey) |
Gets an iterator of strings representing SelfLink(s) or ID based link(s) on which read/query operation should be directed
|