Package com.azure.cosmos.models
Interface CosmosItemOperation
public interface CosmosItemOperation
Encapsulates Cosmos Item Operation
-
Method Details
-
getId
String getId()- Returns:
- the id.
-
getPartitionKeyValue
PartitionKey getPartitionKeyValue()- Returns:
- the partition key value.
-
getOperationType
CosmosItemOperationType getOperationType()- Returns:
- the operation type.
-
getItem
<T> T getItem()- Type Parameters:
T
- type of the item.- Returns:
- the item.
-
getContext
<T> T getContext()- Type Parameters:
T
- type of the context.- Returns:
- the context.
-