Package com.azure.cosmos.models
Interface CosmosItemOperation
-
public interface CosmosItemOperation
Encapsulates Cosmos Item Operation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getContext()
String
getId()
<T> T
getItem()
CosmosItemOperationType
getOperationType()
PartitionKey
getPartitionKeyValue()
-
-
-
Method Detail
-
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.
-
-