All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.cosmos.models.CosmosItemOperation Maven / Gradle / Ivy

Go to download

This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API

There is a newer version: 4.63.3
Show newest version
// 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy