com.azure.cosmos.models.CosmosItemOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cosmos Show documentation
Show all versions of azure-cosmos Show documentation
This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.models;
/**
* Encapsulates Cosmos Item Operation
*/
public interface CosmosItemOperation {
/**
* @return the id.
*/
String getId();
/**
* @return the partition key value.
*/
PartitionKey getPartitionKeyValue();
/**
* @return the operation type.
*/
CosmosItemOperationType getOperationType();
/**
* @param type of the item.
* @return the item.
*/
T getItem();
/**
* @param type of the context.
* @return the context.
*/
T getContext();
}