次の方法で共有


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