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.