你当前正在访问 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 CosmosItemOperationType getOperationType()
abstract PartitionKey getPartitionKeyValue()

Method Details

getContext

public abstract T getContext()

Returns:

the context.

getItem

public abstract T getItem()

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.

Applies to