你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CosmosItemOperation Interface
public interface CosmosItemOperation
Encapsulates Cosmos Item Operation
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract T | getContext() |
abstract T | getItem() |
abstract String | getId() |
abstract
Cosmos |
getOperationType() |
abstract
Partition |
getPartitionKeyValue() |
Method Details
getContext
public abstract T
Returns:
the context.
getItem
public abstract T
Returns:
the item.
getId
public abstract String getId()
Returns:
the id.
getOperationType
public abstract CosmosItemOperationType getOperationType()
Returns:
the operation type.
getPartitionKeyValue
public abstract PartitionKey getPartitionKeyValue()
Returns:
the partition key value.