### YamlMime:JavaType uid: "com.microsoft.azure.documentdb.PartitionResolver" fullName: "com.microsoft.azure.documentdb.PartitionResolver" name: "PartitionResolver" nameWithType: "PartitionResolver" summary: "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." syntax: "
public interface **PartitionResolver**" methods: - uid: "com.microsoft.azure.documentdb.PartitionResolver.resolveForCreate(java.lang.Object)" fullName: "com.microsoft.azure.documentdb.PartitionResolver.resolveForCreate(Object document)" name: "resolveForCreate(Object document)" nameWithType: "PartitionResolver.resolveForCreate(Object document)" summary: "Gets the collection Self Link or ID based link on which create operation should be directed" modifiers: - "abstract" parameters: - description: "the document object to be created" name: "document" type: "" syntax: "public abstract String resolveForCreate(Object document)" desc: "Gets the collection Self Link or ID based link on which create operation should be directed" returns: description: "collection SelfLink or ID based link" type: "" - uid: "com.microsoft.azure.documentdb.PartitionResolver.resolveForRead(java.lang.Object)" fullName: "com.microsoft.azure.documentdb.PartitionResolver.resolveForRead(Object partitionKey)" name: "resolveForRead(Object partitionKey)" nameWithType: "PartitionResolver.resolveForRead(Object partitionKey)" summary: "Gets an iterator of strings representing SelfLink(s) or ID based link(s) on which read/query operation should be directed" modifiers: - "abstract" parameters: - description: "partition key used to resolve the collection" name: "partitionKey" type: "" syntax: "public abstract Iterable resolveForRead(Object partitionKey)" desc: "Gets an iterator of strings representing SelfLink(s) or ID based link(s) on which read/query operation should be directed" returns: description: "An iterator of strings representing SelfLink(s) or ID based link(s)" type: "<>" type: "interface" desc: "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." metadata: {} package: "com.microsoft.azure.documentdb" artifact: com.microsoft.azure:azure-documentdb:2.4.7