azure-docs-sdk-java/docs-ref-autogen/com.azure.cosmos.models.Cos...

84 строки
5.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.cosmos.models.CosmosItemIdentity"
fullName: "com.azure.cosmos.models.CosmosItemIdentity"
name: "CosmosItemIdentity"
nameWithType: "CosmosItemIdentity"
summary: "Encapsulates the Partition<wbr>Key/id tuple that uniquely identifies a Cosmos<wbr>Item"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **CosmosItemIdentity**"
constructors:
- uid: "com.azure.cosmos.models.CosmosItemIdentity.CosmosItemIdentity(com.azure.cosmos.models.PartitionKey,java.lang.String)"
fullName: "com.azure.cosmos.models.CosmosItemIdentity.CosmosItemIdentity(PartitionKey partitionKey, String id)"
name: "CosmosItemIdentity(PartitionKey partitionKey, String id)"
nameWithType: "CosmosItemIdentity.CosmosItemIdentity(PartitionKey partitionKey, String id)"
summary: "Instantiates an instance of the Cosmos<wbr>Item<wbr>Identity class"
parameters:
- description: "the partition key - must not be null"
name: "partitionKey"
type: "<xref href=\"com.azure.cosmos.models.PartitionKey?alt=com.azure.cosmos.models.PartitionKey&text=PartitionKey\" data-throw-if-not-resolved=\"False\" />"
- description: "the item id value - must be unique within the scope of a logical partition, must not be null or empty"
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CosmosItemIdentity(PartitionKey partitionKey, String id)"
desc: "Instantiates an instance of the CosmosItemIdentity class"
methods:
- uid: "com.azure.cosmos.models.CosmosItemIdentity.equals(java.lang.Object)"
fullName: "com.azure.cosmos.models.CosmosItemIdentity.equals(Object o)"
name: "equals(Object o)"
nameWithType: "CosmosItemIdentity.equals(Object o)"
overridden: "java.lang.Object.equals(java.lang.Object)"
parameters:
- name: "o"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
syntax: "public boolean equals(Object o)"
returns:
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosItemIdentity.getId()"
fullName: "com.azure.cosmos.models.CosmosItemIdentity.getId()"
name: "getId()"
nameWithType: "CosmosItemIdentity.getId()"
summary: "Gets the id value uniquely identifying this item within the scope of a logical partition"
syntax: "public String getId()"
desc: "Gets the id value uniquely identifying this item within the scope of a logical partition"
returns:
description: "the id value uniquely identifying this item within the scope of a logical\n partition - must not be null or empty"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosItemIdentity.getPartitionKey()"
fullName: "com.azure.cosmos.models.CosmosItemIdentity.getPartitionKey()"
name: "getPartitionKey()"
nameWithType: "CosmosItemIdentity.getPartitionKey()"
summary: "Gets the partition key"
syntax: "public PartitionKey getPartitionKey()"
desc: "Gets the partition key"
returns:
description: "the partition key - must not be null"
type: "<xref href=\"com.azure.cosmos.models.PartitionKey?alt=com.azure.cosmos.models.PartitionKey&text=PartitionKey\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosItemIdentity.hashCode()"
fullName: "com.azure.cosmos.models.CosmosItemIdentity.hashCode()"
name: "hashCode()"
nameWithType: "CosmosItemIdentity.hashCode()"
overridden: "java.lang.Object.hashCode()"
syntax: "public int hashCode()"
returns:
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Encapsulates the PartitionKey/id tuple that uniquely identifies a CosmosItem"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.63.3